【问题标题】:Facebook Status Update Doesn't Show ThumbnailFacebook 状态更新不显示缩略图
【发布时间】:2013-03-08 15:01:02
【问题描述】:

尽管 Facebook 调试器显示的是正确的缩略图:http://www.apparelyzed.com/forums/topic/26287-burned/

当这个 url 被输入到配置文件更新中时,它只获取文本,而不是元图像。

谢谢

西蒙

【问题讨论】:

  • 这是我论坛页面上的 og: 代码:apparelyzed.com/forums/public/style_images/master/…>
  • 抱歉,上传网址有困难,但有效。

标签: share facebook-opengraph


【解决方案1】:

在上面给定的页面源中,有一个 this 链接标签和一张图片。这张图的目的是什么。尝试删除此链接并查看。

<link rel="image_src" ref='http://www.apparelyzed.com/forums/public/style_images/master/meta_image.png' />

并检查您的图片尺寸是否至少为 50x50,最好是 200x200

og:image 属性有一些可选的结构化属性:

 1. og:image:url - Identical to og:image.
 2. og:image:secure_url - An alternate url to use if the webpage
    requires HTTPS.
 3. og:image:type - A MIME type for this image.
 4. og:image:width - The number of pixels wide.

【讨论】:

  • google:"image_src" stackoverflow.com/a/19274942 它是当前(或曾经并且不再工作)使用相对 URL 指定预览图像的唯一方法。因为在某些框架中使用 CDN 时,使用域指定 URL 需要进行肮脏的黑客攻击。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-12-26
  • 2013-07-11
  • 2012-09-17
  • 1970-01-01
  • 2019-07-11
  • 2013-05-07
相关资源
最近更新 更多