Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/262.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php og:图像被忽略_Php_Javascript_Html_Facebook_Fbconnect - Fatal编程技术网

Php og:图像被忽略

Php og:图像被忽略,php,javascript,html,facebook,fbconnect,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=

我有问题。当我在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>
函数fbs\u click(){u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u=“+encodeURIComponent(u)+”&t=“+encodeURIComponent(t),“共享器”,“工具栏=0,状态=0,宽度=626,高度=436”);返回false;} 如有疑问,请使用


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

使用linter:似乎您的图像太小,高度和宽度必须至少为200px非常感谢!您的评论应该是一个答案:)