Php og:图像被忽略
我有问题。当我在fb上分享我的网站时,它不会显示图像。我的代码: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=
<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非常感谢!您的评论应该是一个答案:)