Facebook 喜欢框“开放图谱类型”错误
我收到此错误:
您通过受支持的元标记之一提供了开放图类型,但您指定的“链接”类型无效。
当我尝试单击为以下内容创建的“like”框时此页面 ID:159862427014
I get this error:
You supplied an Open Graph type via one of the supported meta tags, but the type you specified "link" is not valid.
when I try to click like on a like box created for this page id: 159862427014
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我面临着同样的问题。
我已经尝试过 XFMBL,并使用 iframe...
目前,我的 HTML 文件有:
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
身体>
脚本 src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js" type="text/javascript">/script>
iframe src =“http://www.facebook.com/connect/connect.php?id=111387215578364&connections=10&stream=0&locale=en_US”allowtransparency=“true”style=“边框:中无;宽度:300像素;高度:240像素;”滚动=“否”frameborder=“0”>/iframe>
(我已删除最初的 < 以允许显示代码)
仍然收到“您通过受支持的元标记之一提供了开放图类型,但您指定的“链接”类型无效。”
感谢您的帮助。
拉斐尔
I'm facing the same issue.
I already tried the XFMBL, and using iframe...
Currently, my HTML file has:
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
body>
script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js" type="text/javascript">/script>
iframe src="http://www.facebook.com/connect/connect.php?id=111387215578364&connections=10&stream=0&locale=en_US" allowtransparency="true" style="border: medium none; width: 300px; height: 240px;" scrolling="no" frameborder="0">/iframe>
(I had removed the initial < to allow to display the code)
Still receiving "You supplied an Open Graph type via one of the supported meta tags, but the type you specified "link" is not valid."
Thanks for help.
Rafael
这是因为“link”实际上不是支持的 OG 类型一个>。
使用 URL Linter 确保您的页面格式正确。
That's because "link" actually isn't a supported OG type.
Use the URL Linter to make sure your pages are formatted properly.