Why won't Facebook sharer.php provide a selection of images when multiple og:images have been scraped?

偶尔善良 提交于 2019-12-06 05:16:47

问题


So here is 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">

However, when I click the sharer.php link on the page, Facebook only offers the 1st image.

I was under the impression that it should present 2 image options. I have re-scraped the URL many times and the Facebook Open Graph UI even hints that 2 images should be available:

Can you clarify how to get multiple images in the sharer UI?


回答1:


Still unsure why the sharer UI for multiple images has gone, but Facebook have updated the debugger, which no longer shows the multiple image selection buttons. Now, even when multiple image meta is scraped, FB will pick only 1 ("Based on included and inferred properties"):




回答2:


It seems it works fine everywhere but in the sharer-preview. I tried to post it on my wall, and it showed the picker. It even shows the picker in the image you posted:



来源:https://stackoverflow.com/questions/26741076/why-wont-facebook-sharer-php-provide-a-selection-of-images-when-multiple-ogima

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!