2012-02-21 58 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

相关问题