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. 当ウェブサイトは、Jugglerの勝率をあげる立ち回り方について、3ステージでくわしく解説しています。

    このWEBサイトでは、私が6,000時間以上ついやして立証を重ね、実際に収入を編みだしたデータなので、jugglerシリーズで勝ちたいという方には、非常にお奨めな情報です。

    詳細は下のホームページをクリックしてください。

  2. Its lioke you read my mind! You seem to know so much about this,
    like you wrote the book in it or something. I think that
    you can do with some pics to drive the message home a little bit, but instead of that, this
    is magnificent blog. A great read. I’ll certainly be back.

    my web page :: Fernando

  3. Woah! I’m really digging the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between usability and visual appeal.
    I must say you have done a fantastic job with this.
    Additionally, the blog loads very quick for me on Opera. Superb Blog!

  4. My developer is trying to persuade me to move
    to .net from PHP. I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using WordPress on a
    number of websites for about a year and am anxious about
    switching to another platform. I have heard excellent
    things about blogengine.net. Is there a way I can transfer all my wordpress posts into it?
    Any help would be greatly appreciated!

  5. Hi, I do believe this is a great website. I stumbledupon it
    😉 I am going to return yet again since I bookmarked it.
    Money and freedom is the best way to change, may you be rich
    and continue to guide others.

  6. Hey there just wanted to give you a brief heads up and let
    you know a few of the images aren’t loading properly.

    I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show
    the same results.

    my web blog: Agent

  7. Howdy I am so thrilled I found your web site, I
    really found you by accident, while I was browsing on Bing for something else,
    Anyhow I am here now and would just like to say thank you for a
    incredible post and a all round interesting blog (I also love the theme/design), I don’t have
    time to look over it all at the minute but I have saved it and also added in your RSS feeds, so
    when I have time I will be back to read much more, Please do keep
    up the awesome job.

    Also visit my blog :: teacup pig

  8. Wonderful article! That is the type of info that should be shared across the internet.

    Shame on the search engines for now not positioning this submit higher!
    Come on over and visit my web site . Thanks =)

    Also visit my web site: teacup pigs

  9. Greetings! I know this is somewhat off topic but I was wondering if
    you knew where I could get a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having problems finding one?
    Thanks a lot!

  10. In the everyday life the first is so busy that when he shifts all his focus in looking after his i – Phone
    5 then he will have to neglect his official responsibilities
    which could in reality be quite threatening to his career, but still through an iphone 5 is a symbol of
    pride. too few, you can even download apps that monitor your sleep patterns, and in many cases ones that may measure your heart rate.
    Another example of latest Sony Ericsson phones could be the model W890i which could be the slightest Walkman phone prepared with RSS Tracked feature, Music.

    Look at my weblog samsung galaxy s5 g900m unlocked brand new

  11. トラベルをして楽しみながらマネ
    ーを勝ち得る事が出来た
    ら素晴らしい人生を送れま
    すよね。そんな感
    じの願望を懐抱する人はとっと多
    いですが、そのよう
    な暮しは難い
    と自覚する人は数多いです。それなのに、実
    際にトラベル実施
    しているだけで暮している
    人はいますし、難
    しい事を行っているわけではあ
    りません。旅行で楽しかった体験を膨大な
    人に伝播させて、シンパシーが通じる人が増
    大していく。そうい
    った循環過程で稼ぎ
    が贏ち得られます。

  12. Known performers change the style, feel, and rhythm of the original soundtracks by altering the
    musical components of the songs. An art easel this way will often incorporate some form of box on it so that you can carry your
    art supplies along with you effortlessly. In most cases,
    men choose the dark colors because they are an easy task to maintain instead of easily noted should they be dirty.

    Feel free to visit my web site – giuseppe zanotti outlet

  13. The rake is generally calculated as a percentage of
    the pot based mostly on a sliding scale and capped at some maximum
    payment. Every online poker site determines its own rake structure.
    31 For the reason that bills for running a web-based poker table are smaller than these for running a
    dwell poker table, rake in most on-line poker rooms is far smaller than its
    brick and mortar counterpart.

  14. Or imagine a proponent of the minimal wage conceding, “There is a 30% likelihood that the minimum wage truly hurts the poor by rising unemployment.

  15. I’m extremely impressed with your writing skills and also with the
    layout on your weblog. Is this a paid theme or did
    you customize it yourself? Either way keep
    up the nice quality writing, it is rare to see a great blog like this one these days.

  16. Fantastic blog! Do you have any tips and hints for aspiring writers?
    I’m planning to start my own website soon but I’m a little lost
    on everything. Would you suggest starting with a free platform like WordPress or go for
    a paid option? There are so many options out there that I’m
    totally overwhelmed .. Any recommendations? Bless you!

  17. I believe everything composed made a ton of sense.
    But, what about this? what if you typed a catchier title? I am not suggesting your information isn’t good., but
    suppose you added something that makes people want more?
    I mean How to Add a Facebook Like Button or Like Box | Donald Sinatra is kinda vanilla.
    You should peek at Yahoo’s home page and watch
    how they create article headlines to get viewers to click.

    You might add a video or a related pic or two to get readers excited about everything’ve got to say.
    Just my opinion, it could bring your posts a little livelier.

    Also visit my homepage … barcode scanner

  18. Evidente que é ótimo ter poucas expectativas em um relacionamento, porém não se
    deve iniciar um relacionamento munido de uma longa lista de exigências.

  19. 全身脱毛のケースでは、割と長い時間が掛かります。少なく見積もっても一年間は行き続けないと、完璧な成果には繋がりません。だとしても、それとは反対に終了した際には、その喜びも倍増します。

  20. Why users still use to read news papers when in this technological globe the whole thing is accessible on net?

  21. At this point, there is no reason to not to get
    straight to the point. Just make sure to shoot this new
    passcode out to the people want to you find it. This is pure power when it comes to authoring
    content.

  22. Heya are using WordPress for your site platform?

    I’m new to the blog world but I’m trying to get started and create my own. Do you
    require any coding knowledge to make your own blog? Any
    help would be really appreciated!

  23. The architecture within the Old Town Square is
    spectacular in case you are fascinated with buildings and construction.

    my weblog: joma jewellery meadowhall (Felica)

  24. Lastly, if you want to just make a man’s shirt smaller, for a
    man, just follow the instructions for part
    1 and part 3- narrowing the shoulders, trunk and sleeves.

  25. I like what you guys are usually up too. This type of clever work and coverage!

    Keep up the great works guys I’ve included you guys to my personal blogroll.

Leave a Reply