开放图表元标记在Facebook上无法使用 [英] open graph meta tags not working in facebook

查看:156
本文介绍了开放图表元标记在Facebook上无法使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我无法想象这是为了我的生活。我创建了一个新的网站,并希望在我的旧站点(这是正常工作)添加打开的图表元标记。当我将这些添加到我的新网站并在facebook调试器中测试它们时,它表示它们不存在。当我测试它时,我得到这个:


推断属性应该显式提供'og:url'属性,即使值可以从其他标签推断出来。



推断属性应该显式提供'og:title'属性,即使可以从其他标签推断值。

推断属性应该显式提供'og:description'属性,即使可以从其他标签推断值。



推断属性应该显式提供'og:image'属性,即使可以从其他标签推断值。


另外,即使在那里也没有找到图像。以下是我网站的代码如下:

 < meta property =fb:adminscontent =100002683693547/ > 
< meta property =og:titlecontent =JDerry Art/>
< meta property =og:typecontent =website/>
< meta property =og:urlcontent =http://www.jderry.com/2015/>
< meta property =og:imagecontent =http://www.jderry.com/2015/images/link.jpg/>
< meta property =og:descriptioncontent =艺术与插图by J. Derry/>
< meta property =og:site_namecontent =JDerry Art/>

我的新网址是: http://www.jderry.com/2015/ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $的标签无效...
任何和所有的帮助将不胜感激,因为这开始驱动我坚果,因为似乎没有明确的答案,所有建议的解决方案产生同样的问题。感谢提前。



我的旧网站是xhtml,我的新网站是HTML5,不知道这是否对这个问题有影响?

解决方案

当你正在使用Open Graph Object Debugger。确保您检查最后一次刮取的时间,并确保其最新的网站上的更改。





您可以点击获取新的scrape信息,获取新数据。现在,您的开放图表标签正常工作。

 这些是我们发现的原始标签
元标记< ; meta property =fb:adminscontent =100002683693547/>
元标记< meta property =og:titlecontent =JDerry Art/>
元标记< meta property =og:typecontent =website/>
元标记< meta property =og:urlcontent =http://www.jderry.com/2015/>
元标签< meta property =og:imagecontent =http://www.jderry.com/2015/images/link.jpg/>
元标签< meta property =og:descriptioncontent =艺术与插图by J. Derry/>
元标记< meta property =og:site_namecontent =JDerry Art/>


Okay, I can not figure this out for the life of me. I created a new site, and wanted to add the open graph meta tags like on my old site (which is working fine). When I added these to my new site and tested them in facebook debugger, it says that they are not present. I get this back when I test it:

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.

Also, it is not finding the image even though it is there as well. Here is the code from my site as follows:

<meta property="fb:admins" content="100002683693547" /> 
<meta property="og:title" content="JDerry Art" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.jderry.com/2015" />
<meta property="og:image" content="http://www.jderry.com/2015/images/link.jpg" />
<meta property="og:description" content="Art and Illustration by J. Derry" />
<meta property="og:site_name" content="JDerry Art" />

my new site URL is: http://www.jderry.com/2015/ I have tried all suggestions for similar issues on here and other forums, as well as tried moving the order of the tags to no avail... Any and all help will be greatly appreciated as this is starting to drive me nuts as there appears to be no definite answer and all suggested solutions yield the same problem. Thanks in advance.

P.S. My old site was xhtml and my new site is HTML5, not sure if that has any influence on this issue?

解决方案

When you are using Open Graph Object Debugger . make sure you check the time last scraped and make sure its up to date with the changes on your website.

you can click on fetch new scrape information , to get the new data. and right now your open graph tags are working fine .

These are the raw tags that we found
Meta Tag    <meta property="fb:admins" content="100002683693547" />
Meta Tag    <meta property="og:title" content="JDerry Art" />
Meta Tag    <meta property="og:type" content="website" />
Meta Tag    <meta property="og:url" content="http://www.jderry.com/2015" />
Meta Tag    <meta property="og:image" content="http://www.jderry.com/2015/images/link.jpg" />
Meta Tag    <meta property="og:description" content="Art and Illustration by J. Derry" />
Meta Tag    <meta property="og:site_name" content="JDerry Art" />

这篇关于开放图表元标记在Facebook上无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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