为什么赢得Facebook sharer.php在多个og:图像被抓取时提供了一系列图像?

时间:2014-11-04 17:13:56

标签: facebook facebook-graph-api facebook-opengraph opengraph facebook-sharer

所以这里是a page with multiple og:image elements

<meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/tiger-woods-elin-nordegren-1200x800.jpg">
<meta name="post-image" property="og:image" content="http://www.destinationtips.com/wp-content/uploads/2014/06/Sandy_Lane-1200x797.jpg">

然而,当我click the sharer.php link on the page, Facebook only offers the 1st image时。

我的印象是它应该提供2个图像选项。我已经多次重新抓取了网址Facebook Open Graph UI even hints that 2 images should be available

FB sharer offering buttons for choosing images

您能否澄清如何在sharer UI中获取多个图像?

2 个答案:

答案 0 :(得分:3)

仍然不确定为什么多个图像的共享者UI已经消失,但Facebook更新了调试器,no longer shows the multiple image selection buttons。现在,即使刮掉多个图像元数据,FB也只会选择1(“基于包含和推断的属性”):

FB Open Graph scrape debugger

答案 1 :(得分:-1)

它似乎无处不在,但在共享预览中。我试着将它贴在我的墙上,它显示了选择器。它甚至会在您发布的图像中显示选择器:

screenshot