Facebook Open Graph Debugger响应代码0 [英] Facebook Open Graph Debugger response code 0

查看:157
本文介绍了Facebook Open Graph Debugger响应代码0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的域名和Facebook Open Graph Debugger出现问题。它为此返回为此的响应代码0 链接完全可以访问。

I have problems with my domain and Facebook Open Graph Debugger. It returns a Response Code 0 for this link which is completely accesible.

我的HTML源代码有效,我尝试在另一个域中托管同一页面,然后Facebook Open Graph Debugger可以很好地读取内容。

My HTML source code is valid, I tried hosting the same page in another domain and then Facebook Open Graph Debugger can read the content fine.

对此问题有任何想法吗?我在此域中使用CloudFlare,但30个小时前将其禁用,问题仍然存在。

Any ideas about this problem? I was using CloudFlare in this domain, but I disabled it 30 hours ago and the problem is still there.

推荐答案

如果滚动向下到页面底部,然后点击准确查看我们的抓取工具为您的URL看到的内容,您将获得一个空白页面。这表明,是的,正如您所观察到的那样,Facebook刮板由于某种原因无法查看您的页面。这是问题的核心,您可以放心地忽略Facebook调试器显示的其他错误和不正确的消息,包括:

If you scroll down to the bottom of the page and click the "See exactly what our scraper sees for your URL" you'll get an empty page. This suggest that yes, the Facebook scrapper is not able to view your page for some reason as you've observed. This is the heart of the problem, and you can safely ignore the other erroneous and inaccurate messages that Facebook debugger displays, including:


  • 推断的属性即使可以从其他标签推断出值,也应明确提供'og:image'属性

  • 推断出的
    属性即使可以从其他标签推断出
    一个值,也应明确提供og:url属性。

  • 推断的属性即使可以从其他标签推断出
    的值,也应明确提供
    的og:title属性。

  • 缺少共享应用程序ID应当明确提供'fb:app_id'
    属性,指定应用程序ID,以便将共享给Facebook的
    个故事适当地归因于该应用程序。
    或者,可以在打开共享对话框时在URL中设置app_id。

  • Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
  • 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.
  • Share App ID Missing The 'fb:app_id' property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.

在查看代码后,似乎您所有的Facebook元标记都已正确设置。

After looking at your code, it seems that all of your Facebook meta tags are being set correctly.

如果您查看页面底部的 Open Graph Object Debugger链接,则将获得更多帮助信息:

If you view the link "Open Graph Object Debugger" at the bottom of the page, you will get much more helpful information:

The following will be treated as a redirect by the crawler:
A HTTP redirect
A <link rel="canonical" href=".." /> tag
A <meta property="og:url" content=".." /> tag
The final URL, which we tried to extract metadata from is highlighted in bold

I突出显示我猜测Facebook机器人被Yoast SEO插件添加的以下一个或多个标签弄糊涂了:

I'm guessing that the Facebook bot is getting confused by one or the other of the following tags being added by the Yoast SEO plugin:

<meta name="robots" content="noodp"/>
<link rel="canonical" href="http://eldoradoexperience.org/chapter/cosmos/" />

我对Yoast SEO插件不熟悉,但建议您调整设置以删除< link rel = ...> 标记,或者完全删除Yoast并将以下标记手动添加到您的页面:

I'm not familiar with Yoast SEO plugin, but would suggest either tweaking the settings to remove the <link rel="..."> tag or by removing Yoast entirely and adding the following tags to your page manually:

<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Cosmos. Reading the celestial ceiling" />
<meta property="og:description" content="I decided to switch off all GPS electronic devices. I step on the deck and look at my surroundings, in order to understand the workings of the stars." />
<meta property="og:url" content="http://eldoradoexperience.org/chapter/cosmos/" />
<meta property="og:site_name" content="Eldorado experience" />
<meta property="article:author" content="https://www.facebook.com/NarinanVessel" />
<meta property="og:image" content="http://eldoradoexperience.org/wp-content/uploads/2016/04/dorado-33_2.jpg" />

这篇关于Facebook Open Graph Debugger响应代码0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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