2012-02-21 59 views
0

我在我的幾行代碼:份額OG:圖像不工作,但顯示了在調試器

<meta property="og:title" content="title of the page" /> 
<meta property="og:type" content="website" /> 
<meta property="og:locale" content="he_IL" /> 
<meta property="og:url" content="http://www.domain.org.il/pagefriendlyname" /> 

<meta property="og:image" content="http://www.domain.org.il/upload/image.JPG" /> 
<link rel="image_src" href="http://www.domain.org.il/upload/image.JPG" /> 

<meta property="og:site_name" content="websitename" /> 
<meta property="fb:app_id" content="xxxxx" /> 

這是最後的版本我和你在一起。在我沒有使用舊的image_src標籤的app_id之前,但是在調試器中我看到了圖像,但是當我共享頁面時,它只是忽略了圖像。

回答

1

由於http://www.domain.org.il/upload/image.JPG是無效的圖片網址,因此我會推測您的圖片大小或寬高比超出了Facebook的標準。確保您的圖像符合兩者。

+0

我在哪裏可以獲得有關這方面的信息? – 2012-02-22 07:20:04

+0

https://developers.facebook.com/docs/ – DMCS 2012-02-22 14:11:57

相關問題