facebook - FB LIKE button - liking only show correct thumbnail + desscription after page reload -


i have "standard" fb button integrated on site.

my problem consist of following:

  • not working: when visiting page first time , upon clicking fb button, image , description isnt taken meta tags. example can seen here

  • working: when refreshing page , clicking button, meta image + description showing correctly. (so need visit page 1 time , refresh) example can seen here

im naturally looking image , description show first time click like.

javascript sdk inserted right after tag:

<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_us/all.js#xfbml=1";   fjs.parentnode.insertbefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> 

inserted fb button:

<div class="fb-like" data-href="<?php the_permalink(); ?>" data-send="true" data-width="450" data-show-faces="true" data-font="tahoma"></div> 

inserted meta tags:

<meta name="description" content="en hjemmelavet bænk som denne, med plads til opbevaring under låget, er både praktisk og hyggelig en lille københavner lejlighed. lichtenstein stof fra e"/> <meta property='og:locale' content='da_dk'/> <meta property='og:type' content='article'/> <meta property='og:title' content='&quot;neonliving+lichtenstein&quot; - miniaturemaison'/> <meta property='og:url' content='http://domain.com/beta/neonliving-lichtenstein/'/> <meta property='og:site_name' content='site name'/> <meta property='fb:admins' content='665414800'/> <meta property='og:image' content='http://domain./beta/wp-content/uploads/2013/05/beanken.jpg'/> 

any ideas?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -