Facebook 喜欢框“开放图谱类型”错误

发布于 2024-09-12 21:25:40 字数 122 浏览 2 评论 0原文

我收到此错误:

您通过受支持的元标记之一提供了开放图类型,但您指定的“链接”类型无效。

当我尝试单击为以下内容创建的“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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

月亮邮递员 2024-09-19 21:25:40

我面临着同样的问题。

我已经尝试过 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

凉月流沐 2024-09-19 21:25:40

这是因为“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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文