How to Add a Facebook Like Button or Like Box

The Easiest Way to Add a Facebook Button to Your WordPress Site

In this post, I’ll explain the differences in the Facebook Like Button and the Facebook Like Box. I will also explain the step-by-step process of adding this functionality to your website using WordPress as an example.

Button vs Box

 
The Facebook Like Button is used for visitors of your website to ‘like’ a particular post, page, site or any other criteria a website has to offer. This is done by assigning a URL to ‘like’. Do not confuse this with a ‘Share’ button which allows Facebook users to share a post, video etc. with their Facebook friends.


I am currently using the Socialize plugin on the Ask Adam League that is running on WordPress.

The Facebook Like Button has some great advantages. It allows users of the Facebook community to ‘like’ something which in turn shares that something and broadcasts it out to all of their Facebook friends via their News Feed. Also, this something that they like will remain on their profile for other people to see and visit.

The Facebook Like Box on the other hand allows visitors to ‘Like’ a Facebook Fan Page. It also has other functions such as showing the faces of people on Facebook who like the Fan Page and it can also display the latest post on the Fan Page.

Important:

An interesting note here is that you can use the Facebook Like Button as a Facebook Like Box but only a Facebook Like Box can be used as a Facebook Like Box. This is how it works. In the Facebook Like Box Generator you are prompted to add a Facebook Page URL in the respective field pigeonholing the developer into using the Facebook API strictly for users to ‘like’ a Facebook Page. However, in the Facebook Like Button Generator the user is allowed to add any URL they want. This makes it possible for users to ‘like’ the corresponding page that the developer is suggesting. How a Facebook Like Button can be used as a Facebook Like Box is simple; add a Facebook URL to the URL field and how you are on your way to making a Facebook Like Button that when clicked will allow a Facebook user to ‘like’ your Facebook page. For example, the Ask Adam League currently has a Facebook Like Button on the site. When clicking on this Like Button, the visitor will be Liking the Facebook Fan page for the Ask Adam League. They will also be able to see other friends of theirs that like the Ask Adam League Facebook Fan Page.

How to Add a Facebook Like Button to a WordPress Site

Adding either the Facebook Like Box or Button is very similar so instead of writing War and Peace here I’ll show you the steps for the Like Button.
Notes: These steps include using the code from the Facebook Developers website and not a WordPress plugin as I’ve found many of the plugins to be confusing or very spotty with their functions.
These steps will show you how to add a Facebook Like Box to your WordPress sidebar using a text widget; the simplest way I have found to add the Like Button.

Generate the Code:

  1. Go to the Facebook Like Button generator. This is where you will set the parameters for your Facebook Like Button and generate the code for your WordPress widget.
  2. The first step for generating the code is to get the URL for your page. I will choose to use the Ask Adam League Facebook page in this example since I want my site visitors to ‘like’ my Facebook page. Just visit the page and grab the full URL there and paste it into the ‘URL to Like’ field. (I’ve noticed that Firefox 3 on my Mac did not generate the Like Button example. It wasn’t until I updated to Firefox 4 that this happened).
  3. Select the different parameters for your Like Button such as pixel width and color scheme. You can also toggle on or off Faces which just displays the faces of the users who like your page.Click ‘Get Code’ and you’ll be presented with two different types of code; iFrame and XFBML. XFBML works for me (I’ll let the coder community explain the differences).
  4. Copy the XFBML code.

Insert the Code:

  1. Login to your WordPress CMS and go to ‘Widgets’ under the ‘Appearance’ pulldown on the right.
  2. Here you’ll have all of your widgets available that can be installed in your sidebar. If you don’t know what these do just think of them as little applications that do things on your sidebar.
  3. Grab the ‘Text’ widget and drag-and-drop it to anywhere you want the Facebook Like Button to be with all of your other widgets on the sidebar respectively. (if there is currently a text widget on your sidebar that you would like to install the Facebook Like Box code to with some other code there will be no problem at all).
  4. Crack open the Text widget by clicking on the pulldown. Your text widget will open up exposing the field where you will enter the code.
  5. Paste the code that you copied from the code generator.
  6. Click ‘save’.
  7. Bring up the page(s) that has your new Facebook Like Button to check it out.

Yeah yeah. I know we only have 12 people who like us on Facebook. Give us a sec.
Now anyone that visits your site will be able to like your Facebook Fan page. You can follow these same steps with the Facebook Like Box generator to make a Like Box if you wish.

Send me a comment if you guys have any questions. Good luck!

Note: My first time adding the Like Button it took almost 2 hours for it to show up on my page. Whether it took the Facebook API a million years to work or whatever else was going on I do not know.

11,483 Replies to “How to Add a Facebook Like Button or Like Box”

  1. The paint can be used on the face and neck before putting on some pink blush and
    some blue eye shadow. Fashion affects so many different areas
    of our lives. This is something that you can easily replicate by using
    some colourful make up and some fake blood. Continuing on with the Top
    5 series you can also check out the ‘Top 5 Sexy Naughty And Hot Halloween Costumes For
    Adults’ here at Street Articles for more sexy costume choices and ideas.

    So to make sure the fancy dress costume is just right,
    ensure you obtain the accessories. Drag
    it up for the theatre, and then drag yourselves around our fabulous gay scene afterwards.

    Start to look for outfits early, invest some
    time and if you do not like your to begin with choice
    return and start just as before.

    Also visit my web site: handmade fancy dress accessories

  2. My partner and I stumbled over here from a different web address and thought I may as well check
    things out. I like what I see so i am just following you.
    Look forward to looking over your web page for a second time.

  3. Write more, thats all I have to say. Literally, it seems as though you relied
    on the video to make your point. You obviously know what youre talking about,
    whyy throw away your intelligence on just posting vvideos too your blog when you could bbe giving us somrthing enlightening to read?

    Alsoo visit my page :: Paul mccartney (Sharron)

  4. Howdy I am so grateful I found your weblog, I really found
    you by mistake, while I was browsing on Bing for something else,
    Regardless I am here now and would just like to say many thanks for a incredible post and a all round interesting
    blog (I also love the theme/design), I don’t have time to go through it all
    at the moment but I have saved it and also included your RSS feeds, so when I have time I will be
    back to read more, Please do keep up the superb job.

  5. Thank you for the auspicious writeup. It in fact was once a
    amusement account it. Look advanced to more introduced agreeable from you!
    By the way, how could we keep in touch?

  6. My spouse and I stumbled over here by a different web address and thought I may as
    well check things out. I like what I see so now i am following you.
    Look forward to looking into your web page for a second time.

  7. Hi there, just became aware of your blog through Google,
    and found that it’s really informative. I’m going to watch out for brussels.

    I will appreciate if you continue this in future.
    Many people will be benefited from your writing. Cheers!

  8. I was curious if you ever considered changing
    the layout of your blog? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect
    with it better. Youve got an awful lot of text for only having one
    or 2 images. Maybe you could space it out better?

  9. Fine way of telling, and pleasant paragraph to take facts about my presentation topic,
    which i am going to convey in academy.

  10. This is very interesting, You are a very skilled blogger.
    I’ve joined your feed and look forward to seeking more of your wonderful post.

    Also, I have shared your site in my social
    networks!

  11. Hi I am so thrilled I found yopur web site, I really
    foynd you by error, while I was searching on Yahoo
    for something else,Anyways I am here now and
    would just like to say kudos for a remarkable post
    and a all round entertaining blog (I also
    love the theme/design), I don’t have time to browse it alll at the minute but I have book-marked it and also included your
    RSS feeds, so when I have time I will be back to read a lot more, Please do keep up thee awesome job.

    Also visit my weeb blog … Beatles (Marie)

  12. Simply desire to say your article is as amazing. The clearness
    in your post is simply great and i can assume you are
    an expert on this subject. Well with your permission let me to
    grab your RSS feed to keep updated with forthcoming post.
    Thanks a million and please carry on the gratifying work.

  13. I’ve been exploring for a little bit for any high-quality articles or blog posts on this kind of area .
    Exploring in Yahoo I eventually stumbled upon this site.

    Studying this info So i’m happy to convey that I’ve a very
    good uncanny feeling I discovered just what I needed.
    I so much definitely will make sure to do not omit this web site and give it a look on a continuing basis.

  14. Hello There. I discovered your weblog the use of msn. That is a really well
    writtyen article. I’ll be sure to bookmark it and return tto read extra of your useful info.
    Thanks ffor the post. I’ll definitely return.

    my page – fleas works – enermaxltd.com

  15. A common tea bag, which has actually been used for preparing tea, can also be delegated cool in normal temperature, and can then be used to place
    on the Herpes contaminated location to obtain relief.

  16. I think the admin of this web site is really working hard for
    his website, as here every information is quality based stuff.

    Here is my weblog :: kaiqiangle.com – Maryann

  17. What’s Goiing down i’m new to this, I stumbled upon this I’ve
    found It positively useful and it has helped me
    out loads. I am hoping to contribute & assist different users like its aided me.
    Good job.

    Alsoo visit my site … John Lennon

  18. So there is an opportunity that the visitor might not involve your web site, while you want that the visitors should come to your website as well
    as get or take some action great deal of other details not
    shown by online search engine.

    Also visit my blog: brisbane digital marketing, Arlen,

  19. If you are going for best contents like me, only pay a quick visit this website all the time as
    it presents quality contents, thanks

  20. Howdy very cool website!! Guy .. Beautiful ..

    Superb .. I will bookmark your web site and take the feeds
    additionally? I’m happy to find numerous helpful info right here in the publish, we want work
    out extra strategies on this regard, thanks for sharing.
    . . . . .

  21. Midgard Rising looks familiar to anyone who spent any
    time playing World of Warcraft. There is also a widespread guild system along with a unique guild battle mode which supports a larger amount
    of players. This article looks to provide a list of the Top 10 Pokemon PC games, detailing their mechanics and whether
    they are worth your time investment.

    my web-site … mu Origin hack

  22. Hi there! This article couldn’t be written any better!
    Looking through this post reminds me oof my previous roommate!
    He always kept preaching about this. I will forward this information to him.

    Prettty sure he’llhave a good read. Thanks for sharing!

    Here is my page :: homepage, Wendell,

  23. I got this web page from my friend who shared with me
    on the topic of this web site and now this time I am browsing
    this web site and reading very informative posts at this time.

  24. Hey I know this is off topic but I was wondering if
    you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and
    was hoping maybe you would have some experience with something like
    this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to
    your new updates.

  25. Spot on with this write-up, I seriously believe that this web site
    needs a great deal more attention. I’ll probably be
    returning to read through more, thanks for the info!

  26. Write more, thats all I have to say. Literally, it seems
    as though you relied on the video to make your point.
    You definitely know what youre talking about, why waste your intelligence on just posting videos to your
    weblog when you could be giving us something enlightening to read?

  27. É possível գue até parecer menos importante, ρorém um dos fatores que fidelizam οs fregueses
    da imobiliária é а experiência գue eles
    obtém navegando pelo sítio.

  28. Fantastic blog you have here but I was wondering if you knew of
    any forums that cover the same topics talked about here?
    I’d really like to be a part of group where I can get comments from other experienced
    individuals that share the same interest. If you have any suggestions, please let
    me know. Thanks a lot!

  29. Para pengguna pot canggih ini cukup memasukkan bibit tanaman ke suatu wadah khusus, lantas meletakkannya didalam pot AeroGarden.

    Feel free to visit my homepage … aerogarden plants (Noreen)

  30. I have been surfing online greater than 3 hours lately, but I never found any fascinating
    article like yours. It’s beautiful price enough for me.
    Personally, if all web owners and bloggers made excellent content as you probably did, the
    internet might be a lot more useful than ever before.

  31. Several Search Engine Optimization companies only provide the offsite optimization, which is a simpler process and does not need much initiative or ability.

    Feel free to surf to my web site – seo services brisbane (Arron)

  32. you’re in point of fact a good webmaster. The website loading velocity is incredible.
    It seems that you are doing any unique trick. Furthermore, The contents are masterpiece.

    you’ve done a wonderful job on this subject!

  33. Woah! I’m really enjoying the template/theme of
    this site. It’s simple, yet effective. A lot of times
    it’s hard to get that “perfect balance” between superb usability and
    visual appeal. I must say you’ve done a awesome job with this.
    In addition, the blog loads super fast for me on Firefox.
    Exceptional Blog!

Leave a Reply