【问题标题】:open graph tags not working, at the same time google+ working fine打开图形标签不起作用,同时 google+ 工作正常
【发布时间】:2012-11-02 17:37:50
【问题描述】:

http://www.malayalam-dictionary.com/已根据https://developers.facebook.com/docs/reference/plugins/like/的指令开发了Facebook开放图标签

当通过 facebook 分享链接时,它不起作用

同时 google+ 显示了预期的效果 :)

这里是代码

<meta property="og:title" content="A complete Malayalam English Dictionary" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.malayalam-dictionary.com/" />
<meta property="og:image" content="http://www.malayalam-dictionary.com/images/logo.jpeg" />
<meta property="og:site_name" content="malayalam-dictionary.com" />
<meta property="og:description" content="A complete Malayalam dictionary." />
<meta property="fb:admins" content="100001641332681" />

DEMO

【问题讨论】:

标签: facebook api facebook-graph-api facebook-opengraph meta-tags


【解决方案1】:

当我把它放在脸书上时,它显示得非常好。

如果 OG 标签不起作用,请始终检查调试器中的链接:

https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.malayalam-dictionary.com%2F

它还会刷新 OG 数据。

【讨论】:

  • 感谢您的回复,让我仔细检查一下您是否认为代码开头的某处有问题 &lt;!DOCTYPE&gt;
  • 不,据我所知,代码看起来非常好。它也可以在调试器中使用,唯一的警告是图像至少应为 200x200 像素,但这没什么大不了的,它就像这样工作。
猜你喜欢
  • 2013-04-24
  • 1970-01-01
  • 1970-01-01
  • 2013-01-06
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-03-01
  • 2015-09-01
相关资源
最近更新 更多