当在Facebook og meta标签中只设置一个图像时,Facebook显示三个缩略图:
<meta property="og:title" content="Keystone Business Products - Allentown, Reading, Scranton Copiers"/>
<meta property="og:image" content="http://www.keystonebp.com/img/quote.jpg"/>
<meta property="og:url" content="http://www.keystonebp.com/"/>
<meta property="og:type" content="website"/>
<meta property="og:description" content="Are you looking for a copier in the Allentown, Bethlehem, Scranton, or Reading areas? Read more about the family owned local dealership you can trust."/>
第一个缩略图是我设置为og:image的那个。另外两个缩略图是显示在页面主体中的图像。
og图像为256x256像素。我的网站是使用PHP5。标题、url、类型和描述标签都正确显示。facebook调试器不显示任何警告。
我不知道还能说什么……我使用的是一个样板模板,bizstrap公司模板。被拉出的图像来自页面中间的滑块。请随意浏览我的网站: keystonebp.com我在黑板上发现了这个问题两次,但都没有答案…
似乎facebook缓存了URL的元数据。如果您在调试工具(https://developers.facebook.com/tools/debug)中粘贴相同的URL,这将使缓存无效,facebook将获得正确的缩略图。