Facebook Like Tag - Post ID 237919

User 433408 Photo


Registered User
2 posts

OK, I think I'm being dense!

I have inserted the "Facebook Like Tag" snippet but cannot seem to get it to work.

<fb:like href="Your URL" layout="standard" show-faces="true" width="450" action="like" colorscheme="light" />

I replaced the "Your URL".
What do I need to do? Where should I put it?
User 2147646 Photo


Registered User
233 posts

You are missing some code should look something like this
<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>

<div class="fb-like" data-href="Your URL" data-send="true" data-layout="button_count" data-width="150" data-show-faces="true">

Go here to customize and get the full code https://developers.facebook.com/docs/pl … ike-button

User 433408 Photo


Registered User
2 posts

Thanks James, that worked!

Not sure what the bit of code in the snippet in HTML Editor actually does!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.