facebook Open Graph 对象调试器给出错误
facebook Open Graph Object Debugger gives error
我收到错误:
Object at URL 'http://quaaoutlodge.com/content/fashion-show' of type 'website' is invalid because the given value 'QuaaoutLodge' for property 'fb:app_id' could not be parsed as type 'fbid'.
来自 Open Graph Object Debugger 而我的 html 中的元标记看起来像:
<meta property="fb:app_id" content="QuaaoutLodge" />
<meta property="fb:admins" content="Ron Eggler" />
这里有什么问题?
如上面评论所述,您的 OG 元标记不正确。您应该按如下方式指定它们:
<meta property="fb:admins" content="1234" />
<meta property="fb:admins" content="5678" />
<meta property="fb:app_id" content="123456789" />
假设“123456789”是您的 Facebook 应用程序 ID(您在此处查找:https://developers.facebook.com/apps/)并且“1234”和“5678”是有效的用户 ID。
** 对于 "fb:admins" 标签,请注意您应该为每个管理员指定一个标签。
我收到错误:
Object at URL 'http://quaaoutlodge.com/content/fashion-show' of type 'website' is invalid because the given value 'QuaaoutLodge' for property 'fb:app_id' could not be parsed as type 'fbid'.
来自 Open Graph Object Debugger 而我的 html 中的元标记看起来像:
<meta property="fb:app_id" content="QuaaoutLodge" />
<meta property="fb:admins" content="Ron Eggler" />
这里有什么问题?
如上面评论所述,您的 OG 元标记不正确。您应该按如下方式指定它们:
<meta property="fb:admins" content="1234" />
<meta property="fb:admins" content="5678" />
<meta property="fb:app_id" content="123456789" />
假设“123456789”是您的 Facebook 应用程序 ID(您在此处查找:https://developers.facebook.com/apps/)并且“1234”和“5678”是有效的用户 ID。
** 对于 "fb:admins" 标签,请注意您应该为每个管理员指定一个标签。