hey guys,

Ive followed the instruction on the developers.facebook section on how to add a like button.. but I cant get an image thumbnail to show up with the likes post.

Ive added the sdk to my body:

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

then added the like button to my page:

<div class="fb-like" data-href="http://creative-spotlight.com/dynamic-site/start-page/viewArticle.php?ID=<? echo $ID ?>" data-send="true" data-layout="button_count" data-width="150" data-show-faces="false" data-font="tahoma"></div>

lastly added meta tags to my head:

<meta property="og:title" content="Something Awesome" />
<meta property="og:type" content="website" />
<meta property="og:url" content="www.creative-spotlight.com/dynamic-site/start-page" />
<meta property="og:image" content="www.creative-spotlight.com/dynamic-site/start-page/uploads/r.jpg" />
<meta property="og:site_name" content="Something Awesome" />
<meta property="fb:admins" content="100003848011536" /> 

but no thumbnail shows up at all when the page is liked =/ any suggestions?

    dalecosp;11003877 wrote:

    CSS?

    what do you mean?

      anyone know how to set the thumbnail for facebook to display??

        try to remove your last code you added. 🙂

          or use <gamma , tags instead of meta 🙂

            Write a Reply...