我堅持這一點,尋找新鮮的想法。我正在通過blogger.com平臺幫助一個朋友博客。問題:該博客的Facebook分享提供了空白圖像或「鉛筆」圖標的損壞圖像。Facebook的開放圖og:圖片問題(在facebook分享的空圖片)
我試過如下:
閱讀的最佳實踐在開發Facebook網站
證的圖像是在推薦的大小(600x314)
定義的元寬度的標籤和高。
使用Facebook的調試工具來獲取新的刮板數據 - 總是得到同樣的錯誤:
og:image was not defined, could not be downloaded or was not big enough. Please define a chosen image using the og:image metatag, and use an image that's at least 200x200px and is accessible from Facebook. Image ... will be used instead. Consult...for more troubleshooting tips.
順便說一下,在Facebook的調試工具,我看到的是,基於」對原始標籤,我們構建了以下開放圖屬性「部分,確實爲og:圖像顯示了正確的圖像,但它以分層的方式顯示了它的縮略圖兩次。
這是代碼(放在<head>..</head>
段內):
<!-- Added by Gadi to support default image for blog sharing -->
<meta property="og:title" content="BLOG HORUT" />
<meta property="og:image" content="http://3.bp.blogspot.com/-rk2zwtg7_Vc/VuR2Xs9G5cI/AAAAAAAAAS0/uEJWZcyZcpQZhjUrIUiAR0gsyCfgdSSfw/s1600-r/cover4.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="600" />
<meta property="og:image:height" content="314" />
的OpenGraph調試工具是相當混亂。 2張縮略圖沒問題,我也經歷過相同的情況。 Facebook有很長的緩存時間 - 通常使用調試工具應該清除緩存,但通常不會。很可能FB會在幾個小時內正確顯示您的圖像。 – Gerfried
不幸的是 - 它似乎沒有更新,並且自更改以來它已經超過72小時了...... –