og:图像被忽略了

时间:2012-12-06 20:48:05

标签: php javascript html facebook fbconnect

我有问题。当我在fb上分享我的网站时,它不显示图像。我的代码:

  <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>

1 个答案:

答案 0 :(得分:1)

如有疑问,请使用linter

根据它,你的图像很小,高度和宽度必须至少为200px。