What does it mean Inferred Property in facebook opengraph [duplicate]

£可爱£侵袭症+ 提交于 2019-12-05 13:41:32

问题


Possible Duplicate:
get wrong ogtype in object debugger

I have a website integrated with FB open graph. I have my objects and actions defined and now if I debug my page in the facebook debugger I get the warnings:

Inferred Property: The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.

Inferred Property: The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.

Inferred Property: The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.

Inferred Property: The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

I have founds tons of post about this issue but I am still not getting how can I fix it. On that page I have following meta tags in the header:

<meta content='' name='fb:appid'>
<meta content="test" name='og:description'>
<meta content="test" name='og:title'>
<meta content='...' name='og:url'>
<meta content='...' name='og:image'>

Can someone please help?


回答1:


Change the 'name' tags to 'property' like -

<meta content="..." property="og:description"/>
<meta content="..." property="og:title"/>

And it should work fine. Refer to - http://ogp.me/ for examples.



来源:https://stackoverflow.com/questions/13045824/what-does-it-mean-inferred-property-in-facebook-opengraph

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!