Apr 26, 2011

How to Add Facebook Like Button to Blogger

blogger like buttonThe Like button allows your visitors to share your blog posts with their friends on Facebook with just one click. So why not add it to Blogger. After the launch of this button, it’s being replaced with the old share buttons.

There are different versions of Like button, namely, XFBML (or in HTML5 markup) and the Iframe. The XFBML is capable of doing many things but requires a series of steps to implement, while the Iframe version of the Like button is much simpler and very easy to add to Blogger.

So let’s get started with it.

Step 1: Log in to Blogger and from the dashboard, go to Template tab.

Step 2: Click Edit HTML and check “Expand Widget Templates”.

Step 3: Find <data:post.body/> and immediately after/before it (or both if you want to have it on both top of the post and also at the bottom) add any one of the following codes.

Facebook Like Button for Blogger

It comes with three different shapes and sizes. Choose any one that suits you and add it as told in step 3.

Standard Button

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.canonicalUrl + &quot;&amp;send=false&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=35&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:35px;'/>
</b:if>
Show for:

Box Count

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.canonicalUrl + &quot;&amp;send=false&amp;layout=box_count&amp;show_faces=false&amp;width=55&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=62&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:55px; height:62px;'/>
</b:if>

Button Count

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.canonicalUrl + &quot;&amp;send=false&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:90px; height:21px;'/>
</b:if>

XFBML/HTML5 Version

This is an example of XFBML (or HTML5) Like button which has the Send button and with an auto popup comment box. To get this you can follow the tutorial for Like button.

Customization

Noticed the highlighted codes? Here’s where you can make changes, for example, if you want to change the font style then locate font=arial and replace Arial with any one below:

font=lucida%2Bgrande
font=segoe%2Bui
font=tahoma
font=trebuchet%2Bms
font=verdana

Likewise, you can also change certain things:

  • The color by changing colorscheme=light to colorscheme=dark if you have a darker background.
  • The option to show faces by changing show_faces=false to show_faces=true.
  • The Like verb to Recommended by changing action=like to action=recommend.
  • The width and height if want to show faces and change the verb.

Here is another example after applying the customization:

Points to note
  • If you want some space to add between the post body and the like button, then wrap the codes within div, something like this:
    <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
    <div style='margin: 1em 0;'>
    [Like button code goes here]
    </div>
    </b:if>
  • Conditional tags are used to show these buttons for homepage and every other page excluding static pages. If you want to show it only in post pages then replace the above highlighted blue codes with:
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
    [Like button code]
    </b:if>

    Otherwise, remove it completely.

157 comments:

  1. How to put button on each post without going inside the post?

    ReplyDelete
  2. Just remove the conditional tags as told above. The "Like Button" will be visible on every posts.

    ReplyDelete
  3. got problem! can u help me?

    error: http://img192.imageshack.us/img192/9873/clipboard01hu.jpg

    my site is on my name!

    ReplyDelete
  4. Like Button Error: when clicked it will pop-up a massage "page could not be reached". This problem is happening to many people and could be a bug. For more info visit here.

    ReplyDelete
  5. I implemented it and it works however the button appears just right after my post (like after the last word) or the other variation under the post title...
    How can I add this button next to my "share bar", the part you can click to leave a comment, you see the labels etc... you know what I mean...
    Thank you!

    ReplyDelete
  6. You can find for <div class='post-footer-line post-footer-line-2'> and after this snippet you can add the Like button.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. I found the code twice, I should paste under which one?

    ReplyDelete
  9. I think you are talking about <data:post.body/> and is found only once within the whole blogger template. However if you're confused then find:

    <div class='post-body entry-content'>
    <data:post.body/>

    And add the Facebook Like Button codes as told above.

    ReplyDelete
  10. My blogger template doesnt have in it....and the code just doesnt seem to work no matter where I try it. Any ideas?
    http://www.owhstarsandstamps.org

    ReplyDelete
  11. Have you checked "Expand Widget Templates". After expanding press Ctrl+F and find "<data:post.body/>. Then copy paste any one of the FB Like Button code. It'll surely work.

    ReplyDelete
  12. I have the same problem as Kandis Designm but mines shows three times. I'm using a premade layout.

    ReplyDelete
  13. It's confusing to me also! However, you can find for: <div class='post-footer'> or something similar and before it you will be able to find the required snippet in step 2. Hope this helps.

    ReplyDelete
  14. it work for me just don't include this:



    on the FIRST LINE of the code and this:



    the LAST LINE on the code, it was actually highlighted into red XD

    http://dadedidhodong.blogspot.com <-- new blogger :P

    ReplyDelete
  15. i did according to ur steps, but it nt works =( haih

    ReplyDelete
  16. I checked, it's added to your blog. If you still cannot see it then try clearing the cache of your browser.

    ReplyDelete
  17. thank you very much. added already.

    ReplyDelete
  18. my blog said , More than one widget was found with id: HTML11. Widget IDs should be unique . how bout tht ?

    ReplyDelete
  19. What was you adding? These codes does not contain any id with HTML11.

    ReplyDelete
  20. Thank you so much. I could make it succesfully. Have one more query. In my blog, it just show the "Like Button" and no supporting script like "be the first of your friends to like it" is given. Can you please guide?

    ReplyDelete
  21. You have added "Like button count". Go for the "Standard Like Button" for what you want.

    ReplyDelete
  22. Your site is very helpful.

    Thanks

    ReplyDelete
  23. my blogger html code does not contain :
    " " so where do I put the code :-(

    ReplyDelete
  24. Are you asking for <data:post.body/>?

    You will find it after checking the "Expand Widget Templates" within "Design > Edit HTML" tab in your Blogger's "Dashboard".

    Open your browser's "Search box" by pressing "Ctrl" and "F" keys together on your keyboard.

    ReplyDelete
  25. Great, but how to add it at the top of the posts?

    ReplyDelete
  26. Place the Facebook like button code above <data:post.body/>

    ReplyDelete
  27. How do you post it after the labels bar so that it is not in the post?

    ReplyDelete
  28. Find <div class='post-footer-line post-footer-line-3'> and after it add your Like Button.

    ReplyDelete
  29. right now with that code, it just says the "facebook user likes a link." on the wall feed, with a "attachment" that shows an auto grab of any blog image + title of the link + description of any text.

    my question is, how can i set it such that it will say, "facebook user likes the _______(title of post) on ______ (my blog name)", and for me to specify a more relevant thumbnail + text description of each individual post, automatically? Is the latter even possible? Lets say the first image used in the blog post, and the first 150 characters of the 1st para is preferred. Cos right now it shows the last image and the last texts from the URL.

    Anyone tried successfully?

    ReplyDelete
  30. Try XFBML Like button for Blogger. It will give you a title, image and the description from each individual posts.

    ReplyDelete
  31. It works fine for me except on facebook there is no thumbnail, and my blog really has to do with pictures, it would be helpful if there was some way to get a thumbnail to show up on facebook when I click like on the blog.

    ReplyDelete
  32. Please refer to the reply above

    ReplyDelete
  33. hello raju nice post,those who have implemented LIKE button as XFBML then this code will work, but if someone implemented LIKE button with iFrame then it does not work. So once i clicked SEND button in your post it freezes and no pop up appears. I have implemented a another workaround.Unfortunately your blog is not letting me to post codes.

    PS - I like your blog..Simple and Neat

    ReplyDelete
  34. It's not my blog, it's the blogger's comment form that doesn't allow anyone to use "<" and ">" markup. So to share the workaround you can use &lt; instead of < and &gt; instead of >.

    ReplyDelete
  35. "Those who have implemented LIKE button as XFBML then this code will work, but if someone implemented LIKE button with iFrame then it does not work. So once i clicked SEND button in your post it freezes and no pop up appears."

    I have the exact same problem. How do you workaround with it, Rahul?

    ReplyDelete
  36. Rahul Saigal29 April, 2011

    To those who have LIKE BUTTON WITH IFRAME i have modified the code, the send button can be implemented on every post of blog. So its your wish if you want to implement in header, post or footer of posts.

    &itdiv id="fb-root"&gt&it/div&gt
    &itscript src="http://connect.facebook.net/en_US/all.js#xfbml=1"&gt&it/script&gt
    &itfb:send expr:href='data:post.url'&gt&it/fb:send&gt

    Make sure you replace &it with < and &gt with >.
    data:post.url will enable this button to implement on every post.

    ReplyDelete
  37. Thank you Rahul but the code is for the send button only. Better use the XFBML Like Button and turn the option on. It will have the ability to Like or Send or do both at the same time.

    ReplyDelete
  38. I tried to replace the iframe code with the XFBML Like Button. All my likes are gone. I changed it back to iframe.

    How should I deal with this?

    ReplyDelete
  39. I have replied you in my XFBML post.

    ReplyDelete
  40. I have problem with it. please help
    4u-ayande.blogspot.com

    ReplyDelete
  41. What is the problem?

    ReplyDelete
  42. This comment has been removed by a blog administrator.

    ReplyDelete
  43. hello raju.. how to add send button if my facebook like with iframe? u can see at my blog post.. i want like+send button

    ReplyDelete
  44. @Tricia
    Put the both buttons into divs and add CSS property to float left or right.

    @Haz
    I've updated the post, it's currently not supported in ifrmae version.

    ReplyDelete
  45. Hi! I've just added this into my blog, but it doesn't seem to appear. Will it appear immediately after I save, or must I wait for a while?

    Thanks. :)

    ReplyDelete
  46. It should appear immediately. If its not visible try clearing the browser's cache.

    ReplyDelete
  47. This doesn't work for me at all. It just doesn't show up. Note that I have a non-standard Blogger template. Do you have any advice? Also, do you know of any good Facebook like and Twitter share widgets like this that are integrated into one?

    ReplyDelete
  48. Hi Raju. I have already successfully added the button, & it appears! But it appears only when I open the entry individually.

    For example, it appears when I open the entry like this: http://hannahjohary.blogspot.com/2011/03/what-myiesha-did-throughout-weekend.html

    But when I open my blog at http://hannahjohary.blogspot.com in general, it won't show.

    How do I fix this?

    Thank you in advance! :)

    ReplyDelete
  49. Hello:
    @brain
    Please give your blog's URL

    @Hannah
    Delete the snippets marked in red. Please read the last part of the post for full explanation.

    ReplyDelete
  50. sorry for the out of topic
    i want to ask why does my blog post has no description when shared by Like button or by Share button....

    Description : First paragraph on blog post...

    please help me, i'm already confused....


    Last Question : May i have your Facebook like and send Button Code at the end of this page ???


    you may send me the code by email or post it here....

    thank you very much for your help

    ReplyDelete
  51. Thanks Raju. You have been so helpful. :)

    ReplyDelete
  52. raju...it doesn't work...i had tried it again and again..but still can't worked.....even i clear my chache....

    ReplyDelete
  53. Anonymous30 May, 2011

    Hello. I have the iframe set up on my site but I'm trying to get the meta tags to how a thumb nail, show a title, and so on. But once I put the meta tags in they don't show up on FB. Please Help!

    ReplyDelete
  54. Added open graph meta tags? If you have added correctly then give FB some time (max 24hrs) to scrap your page.

    ReplyDelete
  55. Hi Raju,
    The "like" button shows up on each blog post, but when someone clicks on it, on Facebook it just says a general like for the ENTIRE blog post. Does that make sense? It doesn't click through to the specific blog post. How do I make each "like" button unique for each blog post?

    It can be seen here.
    www.SiliconValleyBachelor.com.

    Thanks!
    Kevin

    ReplyDelete
  56. help i did it but it i can't see it and i've already cleared browser cookies what do i do?

    ReplyDelete
  57. @SVB
    I checked it and it's working fine. I didn't face any problem.

    @Tony
    It's there but you will only see it in post pages. For now, delete the red codes to let it also be seen in every page or wait for this post to get updated in a day or two.

    ReplyDelete
  58. Hey Raju,
    I'm in the process of starting up a new blog at http://idea729.blogspot.com/
    However, when I try clicking the like button I added according to your instructions(Note: I set it so it only appears on post-pages, and so that it appears with the post sharing tools), it doesn't seem to work. It gives me a "You like this" message for a second, then it goes away. Any idea what could be up?
    Appreciate the help,
    -RM

    ReplyDelete
  59. I liked your test post and found out no problem!

    ReplyDelete
  60. Thanks it start working..

    ReplyDelete
  61. Anonymous10 July, 2011

    Is is possible to put "like" button either:
    -Below each of the comments by the author or blog administrator
    -Or Below the comment area (Say just after all comments in a page, immediately above "Post a comment")

    Appreciate your help!
    S

    ReplyDelete
  62. I didn't tried it adding below Blogger author comments, I will try this. But it can be easily added in comment section. Here is an example:

    Find <h4 id='comment-post-message'><data:postCommentMsg/></h4> and before it add any one of the codes mentioned above.

    ReplyDelete
  63. It worked! Thank you so much!

    ReplyDelete
  64. Thank you so much!
    This is a great help :)

    ReplyDelete
  65. I tried other codes but they didnt work or it was not what i wanted
    but this one worked for me, thanks

    elteacherjulian.blogspot.com

    ReplyDelete
  66. how do I make it link to my facebook fan page?

    ReplyDelete
  67. also can I put it in the left side bar some how?

    ReplyDelete
  68. Above codes are for Blogger's post pages only.

    To link your Facebook fan page you can visit Official Like button page and type the link of you fan page and Get Code. you can add it to your sidebar by adding "HTML/JavaScript" gadget.

    ReplyDelete
  69. Thank you for the article. Searched few sites but only your blog Helped ME.
    Its neatly explained. Good work.

    ReplyDelete
  70. Woah... it works.
    I'm designing a custom template based on the minima classic template for my website and all other methods that I tried online didn't work. Thanks a lot and God bless you.

    ReplyDelete
  71. Ok, what I really want is for a like button with a box count to show up in the floating sidebar that I have... basically excatly like it does on this site. How would I do that? I tried using the code you have above and it wouldnt show up... Can you help me?

    Thanks :)

    ReplyDelete
  72. very helpful! Thanks for sharing your knowledge :)

    ReplyDelete
  73. Hey -thanks so much for making this so easy!!
    I am new to all of this and it can be very daunting.
    grazie mille!

    ReplyDelete
  74. Hi Raju, this is so helpful and I just added Like button to my blog. Thank you! http://styleimported.blogspot.com/

    Question :
    As you see, the button isn't exactly parallel.. I tried to change "height:21px; to 17px (or lower number), and the button got lower. However, the bottom part wasn't visible..
    also..
    I'd like to have little space between comment and the button.. (it's too close each other).

    Please help.. Thank you

    ReplyDelete
  75. Hi, I posted a question here yesterday, but I just found more problems..
    My friend tried to click the Like button I just added yesterday, but it didn't appear anything on her facebook page..

    Also after she did click the button, there is "check mark" on it and nobody seem to click it anymore..
    Please take a look at my blog.. http://styleimported.blogspot.com/

    Thank you so much!

    ReplyDelete
  76. Okay, it seems every thing is normal, I can like or unlike the posts and it appears on my profile.

    Regarding the position of the Like button:
    If you want it to be parallel in that position then you need to add some more codes and snippets and replace some snippets from "here to there".
    Better place the bigger standard button under <data:post.body/> as it would be simple and people can find it easy to Like your posts.

    ReplyDelete
  77. Thanks for the awesome tutorial!!!
    I’d like to know if it’s possible to see who has liked the post though, some thumbnails come up but not everyone’s thumbnail, and I cannot click to see who has liked.
    Thanks.

    ReplyDelete
  78. I think you will only be able to see the profile pictures of your friends who have liked your post but not everyone.

    ReplyDelete
  79. I just added this to my blog. Thanks

    ReplyDelete
  80. It's so late.. but thank you so much for your reply!

    ReplyDelete
  81. Hey, help me out. When I like a blog post, the the bunch of text below the title is the info from my about page and not a clip from the post body, how can I fix this? Big thanks!

    ReplyDelete
  82. Hello,i there anyway to check the name of the people who click the like button on my blog.i can only see the name of people who are in my friends list.

    ReplyDelete
  83. It's the rule of Facebook and you cannot see other peoples name unless they are friends of yours.

    ReplyDelete
  84. hye.. i wass added it... but when i share on fcebook.. it will show blog title + post title + description... i want to remove blog title when i share on facebook. i only want show post title + description on facebook.. i dont want blog title.. please help me..

    ReplyDelete
  85. I think that is not possible. If you find it's possible, then let me know.

    ReplyDelete
  86. Hi Raju,

    Very helpful post! Thank you very much. I've added this to my blog. But why is the word "Label" is indented to the right? http://gimmemyblog.blogspot.com

    ReplyDelete
  87. Either put the Like button within div, example:

    <div>
    [Facebook code goes here]
    </div>

    Or move the Like button after <div class="post-footer-line post-footer-line-1">

    Or move the labels to <div class="post-footer-line post-footer-line-3">

    ReplyDelete
  88. I'm able to add Standard like button but button is not clickable. I did not get hand icon on Like button. whats wrong?

    ReplyDelete
  89. Check if it's already Liked by you.

    ReplyDelete
  90. raju, I tried putting on the button with count and I'm not seeing it, any tips?

    ReplyDelete
  91. Check if you have added it correctly or not.

    ReplyDelete
  92. hi how can i show facebook button on right side. currently button showing on left side

    ReplyDelete
  93. Use this:

    <div style='float:right;padding:5px;'>
    [Like Button goes here]
    </div>

    ReplyDelete
  94. Can I see who all of my friends liked it... At present I only see the count, that how many friends liked itt.

    ReplyDelete
  95. You can see only your friends.

    ReplyDelete
  96. Really nice thanks a ton for this.

    ReplyDelete
  97. i wan to make it below my post..but it still remain above!!y is it?

    ReplyDelete
  98. how can i delete the like button above??

    ReplyDelete
  99. I already told you how to add it below posts, read the post or comments carefully.

    To delete the Like button above the post find <data:post.body/> and just above it you will find the Like button [iframe] code, just delete it and save your template.

    ReplyDelete
  100. My fb button is slightly off alignment with my twitter button...not sure why? http://www.thehealthrevival.com/2011/11/cilantro-love-affair-with-herb.html

    Thanks for your post and any further help :)

    ReplyDelete
  101. I have managed to get the button to appear at the end of my posts OK, and when I test it out the thumbnail and post title appear on facebook - but the snippet of text is from the comments section, and not the body of my post. Is there a simple way of altering the code so that it either (a) just references the thumbnail pic and post title or (b) adds the text from the post and not the comments section? I can't be doing with anything other than "compose" mode when posting, it would be too much faff. Thanks for your thoughts on this. http://threadnoodle(dot)blogspot(dot)com/ (Have I just repeated this comment??)

    ReplyDelete
  102. @Health Revival
    Find the codes where you have added the like button, you will find:

    <div style="padding:7px;">
    [Like button codes]
    </div>

    and change the padding to 4 pixels, it will be:

    <div style="padding:4px;">
    [Like button codes]
    </div>

    However, it's a small workaround, not the full fix.

    @Iz
    It's already in the "Related Posts" link lists!!! However, here you go:
    Fixing Facebook Description Problem when Liked

    Adding Open Graph Protocol to Blogger

    ReplyDelete
  103. Thank you for that suggestion - but
    (a) I already looked at the related post to fix the problem, and this doesn't help me - it looks very complicated and I don't really understand it, other than that I wouldn't just be able to post using "compose" and hit publish and forget about it. I want to set this up in the code for my page so I don't have to fiddle ever-after
    (b) I can't find any reference to "padding:7px" anywhere, so I can't try this. I've looked and looked but can't see it.

    But I can see there is a bit of code about jump links just after where I've put the like button code (which itself is just after data:post.body/) but before the comments section. Does it make any difference if I put the code before or after the jump link?

    ReplyDelete
  104. I've now tried the first fix, but when I added the p (and the < >marks, which this comment thing doesn't like me typing in full) before and after I wasn't able to preview the page, I was given a message about "Explorer preventing cross-scripting" and all I could see was a # and a white screen. Should I persist with the < p > business? I'm reluctant to muck up the code for my page because basically I don't know what I'm doing here...

    ReplyDelete
  105. In your template, you will find the Facebook code just before <data:post.body/> and after the Twitter button, there you will find the padding with 7px. Change it to 4px.

    Are you using IE? Have you tried any other browser like Firefox or Chrome? If the problem persist, contact me.

    ReplyDelete
  106. Hello. I originally had a Facebook like box for people to become a fan of my FB page. After I installed the Like button for posts it has disabled my page. Do you know what has happened? And what I can do to fix this? Thanks for your help.

    ReplyDelete
  107. Which/what page are you talking about? Can you show me an example?

    ReplyDelete
  108. Worked perfectly, thanks!

    ReplyDelete
  109. Hi Raju,
    The facebook like button works on my blogger but it doesn't pick the right image. Do you have a solution for this?

    ReplyDelete
  110. Hi Raju,

    I am not sure if you or your readers have encountered this but the number of likes in my blog shows the total number of likes for all the posts in my blog. So it's shows a universal (same) number on all posts rather than showing the correct/exact number of likes on each post. Can you please suggest a solution?

    Thanks a lot!

    ReplyDelete
  111. @Joyce
    I have already replied about the same matter in above comments, if you have missed it then follow the links that are given to Iz frome here.

    @Metro Manila
    If it's so then it's not the codes I have provided in this post. If you want to fix it then implement my codes...

    ReplyDelete
  112. Hi! I have a Facebook like button on top of my page http://kayerevil.blogspot.com It has around 113 likes as of last night, when today I logged in it says "Be the first to like..." Where did all the likes go? When I log out of Facebook and check my site, it contains 113 people like this, but when I try to press like, it says "error". Then if I log in to Facebook, it says again "Be the first to like.." Please help me what to do, it took me around 14 posts to accumulate the 113 likes, i'll be very sad if it can't be fixed. Thank you.

    ReplyDelete
  113. First check if you have added the Like button correctly and is appearing on every page. If everything is done correctly, then nothing I can do because it's from Facebook side.

    ReplyDelete
  114. Raju, thank you for the information. I have an error code at the very top of my page: xmlns:fb='http://ogp.me/ns/fb#'

    Can you help me figure out how this got there?

    I added the standard Like button. Before that I attempted to add the Like and Comment feature but I couldnt' get it to work. I removed the html I added for this fancier version so I'm wondering if you have suggestions about how to remove the above error.

    Thank you for your help and for the super fun FB Like button! I didn't think this was possible.

    Cheers, Kate

    ReplyDelete
  115. Kate, you have to add those lines before > sign. Here's how to do it, follow every single line:

    Add Facebook XFBML Like Button to Blogger

    ReplyDelete
  116. Is there any way to add the 'like' button to the overall blog website? i.e. on the banner with the 'about me' gadgets/etc and not to each individual post?

    ReplyDelete
  117. I here mentioned how to add like button to individual posts. To get a Like button for your blog's URL only, visit Facebook official Like page, within the form give your blog's address in the URL field, select the options you want and "Get Code". Now you can add this to your sidebar or wherever you may want.

    ReplyDelete
  118. Hi, I have a question. How to move the button up like this post? Because the bottom is not very visible?

    ReplyDelete
  119. http://aimaninas.blogspot.com/

    test the sharebutton and the like button how i put the title of the post, description thumb of youtube video every time i click on share button the title only apear if i click in share button inside of the post, i already try this http://www.simplebloggertutorials.com/2011/01/add-facebook-xfbml-like-button-to.html... can you tell me how i fix this ... thanks

    ReplyDelete
  120. i already made all that but still dont work :( any solution??
    make download my xml template if you want see the code and you see what i make wrong
    http://www.mediafire.com/?58uwi9i57mbum16

    ReplyDelete
  121. Contact me for further assistance.

    ReplyDelete
  122. Hey,
    Is there any way I can contact you personally so you can help me add the facebook like button..I tried following your directions several times but it isn't working for me! I would really appreciate it!!

    ReplyDelete
  123. @Que
    At the top of this page you will find the "contact me" link.

    @Berenice
    If others can do it then you can also do it :) It's really easy, all you need to do is follow first two steps very carefully. If you are facing any problems just leave me a reply here so that others can also know about problems and the solutions.

    ReplyDelete
  124. I want to see the names of those who press my blog "like button" on my facebook wall or profile. Is there a way to do that? Thanks!

    ReplyDelete
  125. I followed exactly what you said by copying pasting the code right after the and saved the template, but when I go back to my blog the facebook like button does not appear. I don't know what I am doing write I tried it several times, but the Facebook like button is no where to be find on my blog! Can you help me?!

    ReplyDelete
  126. @NY
    To see who have liked your Facebook page, log in to your Facebook account. On top right corner you will find an arrow from where you can change settings and log out. Click it > Select "Use Facebook as" your fan page. After loading of the page completes, click the icon which generally shows "Friend requests" (found on top left corner, beside Facebook logo). That's it.

    @Berenice
    It seems that either it can be related to your template problem or there's something that you are missing.

    ReplyDelete
  127. When I click on that arrow I have only four options:

    account settings
    privacy settings
    log out
    help

    Nothing about "Use Facebook as"

    ReplyDelete
  128. Are you sure? This feature has been rolled out by Facebook many months back. Here's the link to the help file:
    http://www.facebook.com/help/?faq=168135343245607

    ReplyDelete
  129. thanks Raju
    I have another question: how can I place the Like button under the "read more" jump break... or hide this button so can be visible only in the full posts?

    ReplyDelete
  130. To show like button on post pages read "Points to be noted:" part.

    To place it there find <div class='post-footer'> and below it add the codes.

    ReplyDelete
  131. Thanks so much! It actually worked!

    ReplyDelete
  132. Hi Raju, its me again, since i cant make it on XFBML format, i try the simple like button but it actually doesnt work out and there is xmlns:fb='http://ogp.me/ns/fb# appear again on the top left hand side of my blog. Here is my blog , http://conniesnap.blogspot.com/
    Can you help to fix?

    Thanks a million and sorry for the inconvenience caused.

    ReplyDelete
    Replies
    1. You will find that there are two xmlns:fb='http://ogp.me/ns/fb#'. Delete the second one has been added after > sign.

      Delete
  133. Hi raju, is it possible to get a like-button only on the starting page for the entire blog? just like the g+1-gadget?

    ReplyDelete
    Replies
    1. Easy, simply visit the official page, type your blog's/Fan Page address, select the options and hit "Get Code". For easy install, use the Iframe code.

      Delete
    2. it works! thank you raju!

      Delete
  134. Hey! Thanks for the great tutorial. I've implemented several different codes for a Facebook like button and in general they work fine. However, I always have the problem that the counter says "0" as long as I don't like the post myself. Only when I like the post I see the actual number of likes.. Do you know what could be the problem with this? Thanks for your help! David

    ReplyDelete
    Replies
    1. This could be problem of your browser or of Like itself. If you think that it's a problem of Fb then report this as bug. But when I visited your blog, it seems that all the likes as showing, for example, for the first post you got 7 likes (if I'm not wrong).

      Delete
  135. Hi your tutorial is great i installed the standard button and when you click on the post the like facebook button shows but how can i get it to show with having to click on the post!! This is my first blog I would really appreciati your help!! :-)

    ReplyDelete
  136. Read points to note" part. However, I have updated the post, now you can select whether to show this Like button on post pages or on every page by clicking the buttons.

    ReplyDelete
  137. you could please help?? i cant get the like button to appear unless i click on the post i read the comments above and still cant make sense of what tio do :-(

    ReplyDelete
    Replies
    1. Okay, scroll to the post where you will find the codes to copy and add. Now before coping, select whether you want it to show it on every page (default) or on post pages by clicking the buttons just below it. Now copy it and add it. If you still having any problem in understanding, reply me back. :)

      Delete

Don't SPAM! Read comment policy.