2016-09-07 44 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.

:然而,幾天後,我的錯誤報告與下面的消息封閉