【问题标题】:Thumbnail of Blogger post in Facebook timelineFacebook 时间线中 Blogger 帖子的缩略图
【发布时间】:2012-02-10 21:23:16
【问题描述】:

我在我的博客页面中发布了以下内容,以便为每个帖子添加个人 Facebook“喜欢”-

<script>
document.write(&#39;&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=<data:post.url/>&amp;layout=standard&amp;show_faces=false&amp;width=380&amp;action=like&amp;font=trebuchet+ms&amp;colorscheme=light&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; allowTransparency=&quot;true&quot; style=&quot;border:none; overflow:hidden; width:450px; height:25px&quot;&gt;&lt;/iframe&gt;&#39;);
</script>

在特定帖子中点击“赞”后,该故事也会出现在点击“赞”的人的时间线上。但是,缩略图不起作用。

http://img.photobucket.com/albums/v369/q_quincyluk/fb_like_bug.jpg

如何将我在单个帖子中的图片显示为缩略图?

【问题讨论】:

    标签: facebook-like thumbnails blogger


    【解决方案1】:

    你可能错过了帖子上的 og:image 元标记,它告诉 Facebook 使用哪个图像

    通过https://developers.facebook.com/tools/debug 的调试器运行您的页面,以查看您缺少哪些标签和/或 Facebook 为每个 URL 检测到的内容。

    【讨论】:

    猜你喜欢
    • 2017-07-25
    • 1970-01-01
    • 1970-01-01
    • 2016-06-20
    • 2018-06-19
    • 1970-01-01
    • 2013-07-17
    • 1970-01-01
    • 2011-03-15
    相关资源
    最近更新 更多