I have an issue very similar to this issue, and the accepted answer is outdated.
Currently, when users share a link to my website, 3 cases happen:
What's more, different users, on the same network, sharing the same article, experience different results.
How does wechat identify which image to use as a thumbnail when sharing a link? How can one achieve a consistent behavior?
答案 0 :(得分:0)
您必须拥有一个微信平台帐户并使用提供的jssdk。
jssdk的英文文档可在此处找到:http://admin.wechat.com/wiki/index.php?title=JS_SDK_DOCUMENT
答案 1 :(得分:0)
如果您没有使用微信JS SDK,那么微信似乎使用您在元标记中为 og:image
设置的任何值<meta property="og:image", content: "http://example.com/path/to/image.jpg">
如果您想进一步修改为在微信时刻或消息内设置中共享链接而提供的任何设置,您必须查看SDK。
请注意,该图片随附的标题应在以下元标记中设置:
<meta property="og:title", content: "Title of your page">