Edit

Discussion:Add Facebook Like to Blogger

FA candidate alpha.png
"Add Facebook Like to Blogger" has been selected as a Rising Star, which means it is an exceptionally high quality new article. Congratulations to Zecanard for starting such a promising article.



This article was selected as a Rising Star in New Article Boost by Ttrimm.

Featured Article

"Add Facebook Like to Blogger" was or will be a featured article on 2010-05-24. If you see a way this article can be made even better, please feel free to edit it.

At 14:23, May 19, 2010

Zecanard said:

Thanks for the screenshots and cleanup!

At 02:29, May 25, 2010

Meta Knight said:

Wow. Nice job! :)

At 05:57, May 25, 2010

212.254.231.236 said:

This looks nice, but it allows facebook to track all visitors to your site, so it's a privacy problem.

At 14:54, May 26, 2010

173.168.8.86 said:

For me editing the code wasn't necessary - the code from FB directly worked (only)!

At 03:39, May 27, 2010

Zecanard said:

It works without editing the HTML only if you're going to put the Like button globally on your blog -- that won't work on a per article basis.

At 21:32, Jul 21, 2010

203.87.178.21 said:

Thank you so much for the wonderful informations regarding how to add facebook like to my blog.. I really mean it.. It took me a number of hours however in making it but, its worth it!

Pls try to visit my blog at text2messages.blogspot.com and let me know if the like button shows the equivalent language of your location.. I'm just curious..

Once again, Thank you very much and more power!

At 03:41, Aug 04, 2010

115.133.210.7 said:

Ooo thanks for the article! But I'm wondering, I can only see the number of readers who like the articles. Is there a way to tell who likes them?

At 09:35, Apr 24, 2011

121.145.120.165 said:

Walking in the presence of giatns here. Cool thinking all around!

At 22:58, Apr 26, 2011

142.22.16.51 said:

qswMOh <a href="http://vttdqtubwvgo.com/">vttdqtubwvgo</a>

At 16:41, Feb 19, 2012

213.181.213.161 said:

I followed all the instructions, but it hasn't worked. Blogger's HTML-template editor doesn't even let me save the changes, becuase it shows an error message something like this: "IFRAME tag must be followed by an attribution or > or />."

At 08:34, Jul 16, 2012

77.237.113.147 said:

BUT it don't show faces! PLS HElP. How to show faces thumbs who liked my blog?

At 05:06, Oct 23, 2012

108.253.34.84 said:

the iframe implementation is no longer supported by facebook (

At 13:00, Nov 04, 2012

124.43.197.165 said:

i got this code

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

not the one that you guys can see

At 09:30, Feb 20, 2013

101.210.33.69 said:

the developer page is not found

At 07:12, May 13, 2013

115.119.84.98 said:

Thank you for the wonderful information regarding how to add Facebook like to my blog.Seriously article is very great.Keep it up.

At 15:21, Jun 02, 2013

117.253.135.142 said:

Thanks for your best information how to add Facebook like. This is the best way to increase my business through this technique. Nice Job.

At 10:55, Aug 14, 2013

120.56.157.163 said:

facebook doesn't let you leave the URL field blank for iframe code.

At 16:41, Mar 17, 2014

124.82.97.103 said:

I got an error in blogger template when saving it.

"Error parsing XML, line 510, column 62: The reference to entity "appId" must end with the ';' delimiter."

The code generated by facebook Like button has a script like this:

js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=<my-app-ID>";

for the Java SDK part. Can u show mehow to do this in the new blogger template please? Thanks! ^_^

Can you improve this article? If so, you can edit it directly!
Click here to go into edit mode and fix it up.
You are not logged in. Your IP address will be displayed in your posting.
Enter the word that appears above.