2013-04-17 12 views
0

我在我們的日誌中收到這個錯誤,這似乎表明我們已將og類型設置爲'網站'。OpenGraph在有效或中繼標記上拋出錯誤

Object error: Object code: 3502 message: "(#3502) Object at URL (see link below) has og:type of 'website'. The property 'movie' requires an object of og:type 'video.movie'. "type: "OAuthException" 

這裏是我們的產品之一的meta標籤。如您所見,og類型仍被列爲視頻。

<meta content="217556128271512" property="fb:app_id"> 
<meta content="17 Again" property="og:title"> 
<meta content="video.movie" property="og:type"> 

the debugger for this product,OG的類型正確顯示video.movi​​e:

任何想法是怎麼回事?似乎今天剛剛啓動,因爲我昨天可以發佈消息。

+0

你的調試器鏈接顯示_「的錯誤,必須是固定的:圓形重定向的路徑:通知重定向檢測路徑(見‘重定向路徑’部分了解詳情)。」 _ – CBroe

回答

0

您可以嘗試檢查您的網絡服務器日誌是否同時發生錯誤。不正確的html可以在OpenGraph請求中返回到Facebook,這可以被視爲一個'網站'。

0

從FB文件建立:

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# video: http://ogp.me/ns/video#"> 
<meta property="fb:app_id"  content="302184056577324" /> 
<meta property="og:type"  content="video.movie" /> 
<meta property="og:url"   content="Put your own URL to the object here" /> 
<meta property="og:title"  content="Sample Movie" /> 
<meta property="og:image"  content="https://s-static.ak.fbcdn.net/images/devsite/attachment_blank.png" /> 
<meta property="video:actor:id" content="Sample Actor: ID" /> 
相關問題