facebook - 其他开放图 og :type not being parsed correctly by Facebook linter

标签 facebook

根据位于 http://developers.facebook.com/docs/opengraph 的 Open Graph 文档,我们可以指定我们自己的 og:types。

If your object does not fit into one of the types above, you can specify your own type. This will be represented as type other on Facebook. We will monitor the most commonly used types and graduate them to fully supported og:types. If you are specifying your own type we recommend that you use your own namespace.

在我网站的页面上运行 linter http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fznood.com%2Fachkar_tools返回以下错误:

Object at URL 'http://znood.com/places/dcGPdl0Psuc' is invalid because the configured 'og:type' of 'znoodcom:store' is invalid

在我的另一个页面上,og:type 是“city”,如果你在顶部检查 linter,og:type 设置为“website”(这很糟糕!) http://developers.facebook.com/tools/debug/og/object?q=znood.com%2Fcities%2FbIYWj4uRhCc

有人可以阐明如何设置 Open Graph 可以选择的自定义类型吗?另外,为什么我页面上的“城市”类型被替换为“网站”?

最佳答案

尝试访问您应用中的开放图谱工具并声明您的对象类型。

https://developers.facebook.com/docs/beta/opengraph/define-objects/

关于facebook - 其他开放图 og :type not being parsed correctly by Facebook linter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7552723/

相关文章:

php - Facebook SDK v5 Graph 返回错误 : Invalid OAuth access token

facebook - 如何在 Facebook 上按最喜欢的方式对我的产品进行排序?

ios - Facebook 登录 Swift iOS 10 - 没有任何效果

javascript - FB.api 不是函数

iOS Facebook 登录教程

facebook - 为什么移动网络应用程序上的 Facebook 请求不起作用?

javascript - 如何使用 jQuery-Facebook-Photo-Selector 提示 facebook 登录

ios - react-native NavigatorIOS 没有按预期工作

asp.net - 对地方当局 claim 和外部供应商 claim 的混淆

php - MySQL 设计说明