Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

og:image ignored

I have problem. When I share my website on fb, it doesn't display image. My code:

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

I have no app_id. JS code:

    <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>
like image 273
mitch Avatar asked Nov 13 '22 15:11

mitch


1 Answers

When in doubt, use linter

According to it, your image was to small, it must be at least 200px for both height and width.

like image 187
dev-null-dweller Avatar answered Nov 15 '22 05:11

dev-null-dweller