问题描述
我有一个与FB开放图形集成的网站。我有我的对象和动作定义,现在如果我调试我的页面在Facebook调试器我得到警告:
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:
推断属性:应显式提供'og:title'属性,即使可以从其他标签推断值
。
Inferred Property: The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
推断属性:应显式提供'og:description'属性,即使值可以从其他标签推断。
Inferred Property: The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.
推断属性:应显式提供'og:image'属性,即使可以从其他标记推断值。 p>
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'>
有人可以帮忙吗?
推荐答案
将名称标签更改为属性,如 -
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.
这篇关于什么意思是推测财产在Facebook开放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!