Wechat share has only links but no icon and title body problem analysis

Recently, when I was working on an official account project, I found that when the page opened through the link was shared, it was still a link, without an icon and title text. I was very puzzled at the time, this piece of code has not been changed, and it could be shared as a share with an icon and a title text before, why it suddenly stopped working. So I decided to explore the reason. After some operations, I found that the page opened with the link is shared with the link, and the page opened with the share with icon and title text is shared with the icon and title text.

Summarize:

The reason for the above problems is the problem of WeChat rules
1. Open the page with a link and then share it, only the link of the current page will appear but not the picture and text;
2. Open the share with the icon and then share it again with the icon title;
3 , It can be opened with a QR code or a WeChat menu, and everything is normal for sharing.

おすすめ

転載: blog.csdn.net/xiaolinlife/article/details/130962551