Hi, I’m having an issue with the Facebook Like button.
I’m using this code, which seems to be displaying the button correctly in the page
<div id="fb-root"></div>
[removed](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/it_IT/all.js#xfbml=1";
fjs[removed].insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));[removed]
<div class="fb-like" data-href="http://www.website.com/" data-send="true" data-width="450" data-show-faces="false"></div>
But the resulting Facebook wall post is a scrambled result like this:
AC_FL_RunContent( ‘codebase’,‘http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0’,‘width’,‘572’,‘height’,‘518’,‘title’,‘websitename’,‘src’,‘slideshow’,‘quality’,‘high’,‘pluginspage’,‘http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockwav…
Any ideas why this might be happening?
Thanks
[Mod Edit: Moved to the Community Help forum]