Отладчик объектов выдает мне ошибку «Постороннее свойство и предполагаемое свойство» на opg

У меня в шапке все правильно. Я следил за 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.

person Scot Birchfield    schedule 27.09.2011    source источник
comment
developers.facebook.com/tools/ отладка/ог/   -  person Scot Birchfield    schedule 27.09.2011
comment
Чтобы все знали: facebook.stackoverflow.com   -  person weisjohn    schedule 04.10.2011


Ответы (3)


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

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

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

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

person nadiamode    schedule 30.09.2011

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

person Paul Tarjan    schedule 27.09.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 -->
person aminhotob    schedule 30.09.2011