mit*_*tch 5 html javascript php 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"/>
Run Code Online (Sandbox Code Playgroud)
我没有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>
Run Code Online (Sandbox Code Playgroud)