2015-04-02 29 views
-1

我得到的錯誤: Object at URL 'http://quaaoutlodge.com/content/fashion-show' of type 'website' is invalid because the given value 'QuaaoutLodge' for property 'fb:app_id' could not be parsed as type 'fbid'.Open Graph Object Debugger而在我的HTML meta標籤的樣子:Facebook的Open Graph的對象調試提供了錯誤

<meta property="fb:app_id" content="QuaaoutLodge" /> 
<meta property="fb:admins" content="Ron Eggler" /> 

這裏有什麼問題嗎?

+2

元屬性fb:app_id應該是一個整數,它應該是一個Facebook應用程序ID:更多詳細信息https://developers.facebook.com/docs/reference/opengraph/object-type/website/ – 2015-04-02 05:02:41

回答

1

正如上面評論中所述,您的OG元標記不正確。你應該確定它們如下:

<meta property="fb:admins" content="1234" /> 
<meta property="fb:admins" content="5678" /> 
<meta property="fb:app_id" content="123456789" /> 

假設「123456789」是你的Facebook應用程序ID(你在這裏一看,https://developers.facebook.com/apps/)和「1234」和「5678」是有效的用戶ID。

**爲「fb:admins」標籤,請注意,您應該爲每個管理員指定一個。