对象调试器在opg上给了我无关的属性和推断的属性错误 [英] Object Debugger gives me Extraneous Property And Inferred Property error on opg

查看:91
本文介绍了对象调试器在opg上给了我无关的属性和推断的属性错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的标题中的所有内容正确无误.我按照开发文档将我的位置和地址添加到标题中,但收到这些警告.有人可以告诉我我在做什么错吗?

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.

推荐答案

现在,facebook也要求您也将og:locale添加到元标记中

now facebook require you to add og:locale to meta tag too

他们只需要在宣布新的开放图Beta时就可以使用

they just require when they announce new open graph beta

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

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

这篇关于对象调试器在opg上给了我无关的属性和推断的属性错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆