对象调试器在 opg 上给出了无关属性和推断属性错误
我的标题中的一切都正确。我按照开发文档将我的位置和地址添加到我的标题中,但我收到了这些警告。有人可以告诉我我做错了什么吗?
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.
I have everything right in my header. I followed the Dev Doc for adding my location and address to my header but I get these warnings. Can someone tell me what I am doing wrong?
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
现在 facebook 也要求您将 og:locale 添加到元标记中,
他们只是在宣布新的开放图测试版时才需要
http://developers.facebook.com/docs/beta/opengraph/internationalization/
now facebook require you to add og:locale to meta tag too
they just require when they announce new open graph beta
http://developers.facebook.com/docs/beta/opengraph/internationalization/
您评论中的链接不会出现任何错误。您是否在页面上放置了旧的元标记?
The link in your comment doesn't spit out any errors. Were you putting old Meta tags on your page?
我有同样的问题尝试阅读此http://developers.facebook.com/docs/ beta/opengraph/internationalization/
使用这个
i have same problem try to read this http://developers.facebook.com/docs/beta/opengraph/internationalization/
use this