Object Debugger在opg上给出了Extraneous Property和Inferred Property错误

时间:2011-09-27 02:16:41

标签: facebook-graph-api open-graph-protocol

我的标题中包含所有内容。我按照Dev Doc将我的位置和地址添加到我的标题中,但是我收到了这些警告。有人能告诉我我做错了吗?

Extraneous Property Objects of this type do not allow properties named og:language.
Extraneous Property Objects of this type do not allow properties named og:email.
Extraneous Property Objects of this type do not allow properties named og:phone_number.
Extraneous Property Objects of this type do not allow properties named og:fax_number.
Extraneous Property Objects of this type do not allow properties named og:latitude.
Extraneous Property Objects of this type do not allow properties named og:longitude.
Extraneous Property Objects of this type do not allow properties named og:street-address.
Extraneous Property Objects of this type do not allow properties named og:locality.
Extraneous Property Objects of this type do not allow properties named og:region.
Extraneous Property Objects of this type do not allow properties named og:postal-code.
Extraneous Property Objects of this type do not allow properties named og:country-name.
Inferred Property   The og:locale property should be explicitly provided, even if a value can be inferred from other tags.

3 个答案:

答案 0 :(得分:2)

现在facebook要求你将og:locale添加到元标记

他们只是在宣布新的开放式测试版时才需要

<meta property="og:locale" content="fr_FR" />  

http://developers.facebook.com/docs/beta/opengraph/internationalization/

答案 1 :(得分:0)

评论中的链接不会吐出任何错误。你在网页上放了旧的Meta标签吗?

答案 2 :(得分:0)

我有同样的问题尝试阅读此http://developers.facebook.com/docs/beta/opengraph/internationalization/

使用此

<meta property="og:locale" content="en_us" />
<meta property="og:locale:alternate" content="ar_ar" /> <!-- optional -->