2016-09-07 26 views
0

前段时间,我们的用户报告了与我们页面共享内容的问题(文本/图像不会显示在共享对话框中),经过一些研究后,我们添加了og:image:widthog:image:height标签。为了减少加载时间,脸谱刮板收到一个空的页面<body>(我们也有超时的麻烦)。随机Facebook开放图调试器错误消息?

一切都很好,直到大约一个星期前。已经被刮掉页面访问量在Object-Debugger错误:

Error parsing input URL, no data was cached, or no data was scraped. 

此错误显示了近每次我点击Show existing scrape information,最终它会消失(无需重新刮的页面),但是下面的错误显示出来:

The 'og:type' property is required, but not present. 

Sharing-Debugger还显示了以下错误:

The parser's result for this metadata did not match the input metadata. Likely, this was 
caused by the data being ordered in an unexpected way, multiple values being given for a 
property only expecting a single value, or property values for a given property being 
mismatched. Here are the input properties that were not seen in the parsed result: 
'fb:admins, og:type, og:description, og:title, og:site_name, og:image:url, og:image:width, 
og:image:height' 

有时也说Ò你的图像太大,无法下载,但图像显示在预览中。有时甚至竟把显示

Could not scrape URL because it has been blocked 

什么犯规加起来这里要说的是,如果我在See exactly what our scraper sees for your URL点击它表明我,我们的页面的空<body><og:...>标签都有效的<head>

的源调试器向我显示正确的og:url,og:type,og:title,og:descriptionog:image,预览是正常的,响应代码是206,上次抓取是在8月的某个地方。

重新打印几次后,大部分时间错误信息都消失了,但这不能成为解决方案。似乎调试器无论出于何种原因都会发送随机错误

那么这些错误消息究竟意味着什么呢?他们错了吗?我在这里错过了什么?

(注:第3 pary的是由于这些错误消息的麻烦分享我们在他们的应用程序页面,每次他们出现在调试器,它们的数据似乎在某种程度上打破)

回答

0

一些回去后反复复用他们在开发者论坛上是Facebook的支持者之一,他们承认我的问题是一个错误,并指派一个团队进行进一步调查。

Those messages are due to a bug in our Debugger when you scrape no-canonical URLs. On that case, the information about your URL is updated asynchronously so it takes a little while for the error messages to go away.

If you input the canonical URL in the debugger, the error messages will go away after the first scrape.

Unfortunately, due to the way our systems works, we are not planning to fix that error in the near future.

:然而,几天后,我的错误报告与下面的消息封闭