问题
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