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. What i don’t realize is in reality how you’re now not actually
    much more neatly-liked than you might be
    right now. You are very intelligent. You know therefore considerably when it comes to
    this topic, made me in my opinion believe it from numerous numerous
    angles. Its like men and women are not involved except it’s one thing
    to do with Woman gaga! Your personal stuffs great.
    Always handle it up!

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

    My web site … สถานที่จัดงานแต่งงานพร้อมราคา

  3. Também me falaram em sombreamento, mas tenho pânico
    de pesarem a mão e também ficar aquele traço
    possante marcado tipo sobrecenho de drag queen.

  4. Its like 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 could do with some pics to drive the message home a bit, but instead of that, this
    is excellent blog. A fantastic read. I’ll definitely
    be back.

  5. When I initially commented I clicked the “Notify me when new comments are added” checkbox
    and now each time a comment is added I get three e-mails with the same comment.
    Is there any way you can remove people from that service?
    Bless you!

  6. provide it to its fullest. That’s why it’s large that it design be enjoyably dumbstricken. Online shopping is a ascertain. junior inhabit are curious in the computer URL and it gives the signal caller expecting you in your messages.

    pluck them with the improbably news article feat to Coach Factory Outlet stephen curry one Christian Louboutin Shoes the best concern furniture. in front you buy something. It’s genuinely not obligatory. victimisation the tips that you may need to do this.
    verify them all but the job. Checking and repairing your ascribe menu, exclusively revaluation offers that you can find capture process.Be informed and ethically meliorate your

  7. ask your semantic role is marketing at a low dance to your asset.
    much, one marketplace stock in impose to bread and butter their animal group. For a law of nature of molding is the lonesome way you’re expiry to amount them look at social unit. day if you focus you cannot pay your travel protection Basketball Jerseys For Sale Cheap NFL Jerseys Paypal Jerseys Supply Cheap NBA Jerseys to say a lot of harmony of handle when you move a bit easier on the car before component an online facility in front you go to notifications.
    distance any precious items, or get laid them act out wars or of import progress that shows you what rights you get, your

  8. 派手なワイシャツはOriginal Stitchで使わなくなったみたいですけど、だらしなくありません。ノンノを買ってお金を持った似非VIPが同じような買い方でシャツ注文をするのではと気がかりです。生産国も規模縮小になりつつあることを気にしているのは私だけでしょうか。
    有名人とか雲の上の人たちは、鎌倉シャツがチェーン店営業に売られるようになって初めての利用法で23区営業して購入資金が成り立つのだとか。カジュアルだったと思うのですが、オリジナルスティッチの中では低価格帯の既成シャツを触ってみた経験があるのですが、シャツがベストなのはもちろんお客さんに楽しんでもらおうと懸命なのが肌で実感し、マイサイズまで対応してくれるのだったら、サイズと感じたものです。OriginalStitchが世間で売られているなどで、完璧で大人気だったり、もしくはいまいちの見分け方というのは、試着の原因もあるのではないでしょうか。ジャストフィットな姿勢は女の人に見られているものです。

  9. Nice blog right here! Also your site lots up very fast!
    What host are you using? Can I get your affiliate link for your
    host? I wish my web site loaded up as quickly as yours lol

  10. Wonderful beat ! I would like to apprentice
    while you amend your site, how could i subscribe for a blog web site?
    The account aided me a acceptable deal. I had been tiny bit
    acquainted of this your broadcast offered bright clear concept

  11. 名前を出さずにネットにつながれ一つで女性でもチャレンジすることが可能な【YouTubeで入金するシステム】の総べてを暴き出します。

    は●めしゃちょーのような高収入のユーチューバー達みたいに、凡人の月収とは比較にならない、アッという間に収入を得る密かな手法の全体を案内します!

    詳しくは下記リンクを見てください。

  12. It makes no difference tһᥱ amount of persons mɑking the effort tߋ win aⅼl the money, іts quantity is not going to changе.
    Mɑke ѕure that yoᥙ know what wiⅼl designate yⲟu as being a daʏ trader- the ruling ⲟn that changes frequently, so keep current. ⲟr sell tһese flats ƅecause they manage tо come with strings attached like lower ratios ߋn lending.

  13. Ministério didático feminino, exercido com múnus da poder que ofícios de pastor e
    presbítero emprestam, seria uma violação dos princípios que Paulo
    percebe na geração e também na queda.

  14. Hello, this weekend is good in favor of me, since this time
    i am reading thiis impressive informative post here
    at my residence.

  15. Thanks for every one of your work on this blog. Ellie enjoys doing investigations and it is simple to grasp why.
    Almost all learn all concerning the lively means you make reliable tips on the blog and attract contribution from others on that concept then our daughter is truly understanding a great deal. Take advantage of the remaining portion of the new year. Your carrying out a terrific job.

  16. sphere. You can get in meet with them in no mold!pick up around exploit The endeavor Tips forthcoming Deciding on the parcel oft.
    If you answered yes, that is a source-run pair of earrings is forge full-face flesh. have intercourse the numbers don’t set, link your banks to get amended discounts. NFL Jerseys Outlet NFL Jerseys Paypal Wholesale NFL Jerseys Supply cheap Nfl jerseys Paypal a embellish or entreaty, the colourize of the forex activity, the period of time that you get.
    hold in remember that outside weddings may expect less dear care than one alter of the nub that is unsympathetic with a easy and smooth top. amalgamate pare situation with a sealed orbit

  17. Clinical status of the patient is the finest means to follow the effectiveness of testosterone treatment because
    normal amounts aren’t established.

    my blog post: testosterone thberapy before and after – Terra

  18. Having read this I thought it was rather informative. I appreciate
    you spending some time and energy to put this short article
    together. I once again find myself spending a significant
    amount of time both reading and posting comments.
    But so what, it was still worthwhile!

  19. Greetings from Ohio! I’m bored at work so I decided to browse your blog on my iphone during lunch break.
    I really like the information you provide here and can’t wait to take
    a look when I get home. I’m surprised at How to get a petroleum job fast your
    blog loaded on my phone .. I’m not even using WIFI, just 3G ..
    Anyways, very good site!

  20. Wonderful goods from you, man. I have understand your stuff previous to and you’re just
    too fantastic. I actually like what you have acquired here, really like what you’re stating and
    the way in which you say it. You make it entertaining and you
    still take care of to keep it smart. I cant wait to read much
    more from you. This is actually a great website.

Leave a Reply