2012-12-06 62 views
4

我有問題。當我在fb上分享我的網站時,它不顯示圖像。我的代碼:og:圖片被忽略

<meta property="og:title" content="Zapust.pl - życie granic wschodnich"/> 
    <meta property="og:type" content="article" /> 
    <meta property="og:url" content="http://zapust.pl"/> 
    <meta property="og:image" content="http://zapust.pl/assets/temp.png"/> 

我沒有app_id。 JS代碼:

<script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script> 
<a rel="nofollow" href="http://www.facebook.com/share.php?u=zapust.pl" onclick="return fbs_click()" target="_blank"><img src="/assets/share-fb-icon.gif"></a> 
+2

使用linter:http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fzapust.pl看起來你的圖片很小,它必須至少200px高度和寬度 –

+0

非常感謝!你的評論應該是一個答案:) – mitch

回答

1

有疑問時,可使用linter

根據它,你的形象是小的,它必須是高度和寬度至少200像素。