Отладчик объекта выдает мне постороннее свойство и предполагаемое свойство при оп - PullRequest
1 голос
/ 27 сентября 2011

У меня все правильно в шапке. Я последовал за документом для разработчиков, добавив свое местоположение и адрес в заголовок, но получил эти предупреждения. Может кто-нибудь сказать мне, что я делаю не так?

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 ]

2 голосов
/ 30 сентября 2011

теперь Facebook требует, чтобы вы добавили og: locale в метатег тоже

они просто требуют, когда объявляют о новой бета-версии открытого графика

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

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

0 голосов
/ 30 сентября 2011

У меня та же проблема, попробуйте прочитать это http://developers.facebook.com/docs/beta/opengraph/internationalization/

использовать это

<meta property="og:locale" content="en_us" />
<meta property="og:locale:alternate" content="ar_ar" /> <!-- optional -->
0 голосов
/ 27 сентября 2011

Ссылка в вашем комментарии не выдает никаких ошибок.Вы помещали старые метатеги на свою страницу?

...