我已将以下代码粘贴到我的网站,以实现类似 facebook 的按钮:
<div class="fb-like" data-href="http://example.com/blog/article/28" data-send="false" data-width="450" data-layout="button_count" data-show-faces="false"></div>
我有以下元标记:
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="123412341234123" />
<meta property="og:url" content="http://example.com/blog/article/28" />
<meta property="og:image" content="http://example.com/images/branding/logo7.png" />
<meta property="og:title" content="Testing Title - Sitename" />
<meta property="og:description" content="some description" />
我试过 Facebook对象调试器,它显示所有数据都被正确抓取。og:image标记中的图像是 16.78KB 450x450px PNG 图像,它似乎满足我发现的唯一要求(最小宽度和高度为 200x200px)。
当我单击“赞”按钮时,它正在工作,但是与“赞”相关联的图像会出现我也实现的“Pin It”按钮。
我的问题是我错过了什么,有没有办法显示每个喜欢的正确图像?