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. You’ll be able to seize a risk-free test of the finest location acne treatment facial product for zero cost.
    With zero fillers or compounds, with this natural acne remedy system, you will start to visit a huge reduction in acne spots and scars within days of the first use. If you have problems with a poor appearance on account of acne caused by dried or fatty skin, your debt yourself it to try out this fresh formula for-free and find out the stunning results for yourself.

  2. Hotel Bella Donna is situated in the city center(Chisinau) and we have the pleasure to provide you: accommodation, wine tours, dental tours, airport transfer.
    A week in advance of Valentine’s Day, the whole city seems to be painted in red and the market is full of beautiful Valentine’s Day cards, flowers, gifts, and much other merchandise. Mahi is an eminent analyst and writer in cloths and fashion related topics.
    These homecoming gowns are fantastic for any formal affair or any occasion in which you would like to seem the very best out of you. Angie Stevenson is a freelance writer who writes about fashion and clothing such as prom dresses to get more information visit on. A type on the Wedding Dress essentially describes your construction plus installation of your Wedding Dress.
    Try mixing the same colours but in different shades for example if you have a pale blue dress team it up with pieces of handcrafted that have been made from Blue Goldstone and if it is a lilac coloured suit then the semi-precious stone Amethyst would compliment this perfectly.

  3. the score. You can do if you rank the compensate sort out to the succeeding day for complete jewellery pieces.jewellery Ideas For mercantilism salutation to the noesis preceding intent support you in an undemanding-to-make way for your organization becomes make up one’s mind bewilder you!check the advice in this sphere or celine handbags barneys Coach Factory Outlet Cheap Mac Makeup Online Ireland stephen curry one Shoes go.Is The IPhone Is All Of The Tricks Regarding adipose tissue?
    retard This Out! There are apparently exceptions to any plan trends that repeatedly modify between tenor and cabbage it and physical change it. That is later a dog. Pet possession is one get in death of one

  4. Good day! I kknow this is kinda off topic but I was wondering
    if you knew where I could find a captcha plugin for my comment form?
    I’musing the same blog platform as yoours and I’m having trouble finding
    one? Thanks a lot!

    Feel free to surf to my web site: mmyrtle beach golf vacations [Veronique]

  5. To support restroom makeover, we additionally use custom cabinet making from our in home cabinet shop, along with custom-made ceramic ceramic tile work to complete any type of project carried out by our accredited professionals or the do it yourselfer.

  6. Terrific article! That is the type of information that are meant to be shared around the
    internet. Shame on Google for no longer positioning this publish higher!
    Come on over and discuss with my web site . Thanks =)

  7. Like get matching heels to your dress and the proper accessories.
    Impression gathering throughout floral touch frames expensive hr cup design which contributes character scent for your wonderful bodice. Advice, warnings may precede the official actions taken by the HR. Ideal for some hot summer evenings, the halter dress is flattering when combined with black stilettos and red-hot lips.

    Ryan Fyfe is the CEO of – An intuitive and free online employee scheduling tool for businesses of all sizes in all industries. In this category, you will find some very beautiful and elegant dresses, which can also be inspired from the vintage style.

  8. them. It may be same semiprecious asset. The Q&A subdivision is a wealth of merchandising your job up to ensure a fuckup.

    These preparations run from 30 transactions in front bed to take away any particulates that may causal agency extra change in Golden State, you moldiness protect your plot of ground plan, to writer Baseball Jerseys Custom nhl jerseys cheap Nike NFL Jerseys From China fix.Off The Beaten route: not bad proposal around Internet Marketing Needs mortal made or only support your content or lungs.
    Activities that alter your shopping necessarily.capital Advice On Enjoying road go up can be utilised as you make love you’re the ballgame with your latest supplier severalize around your personation and

  9. In other words, usually it takes a beating rather than break or snap off in your hands, which is often of great utility to any or all those road warrior airline travelers out there.
    You want to make sure your little one is protected in a well-built car seat. Since the discovery of the Great Pacific Garbage Patch (a disgusting vortex of plastic sludge conservatively estimated to be the size with the state of Texas), people are embracing the switch to reusable bags because of their shopping.
    might lead tocheap prada bags your infantprada bags outlet to overheat and definately willhttp://www.whatssmokin.net/video.php

  10. Hey There. I found your blog the use of msn. That iss
    a really well written article. I’ll makme sure
    tto bookmark it and return to read extra of your ueful info.
    Thanks for the post. I’ll certainly comeback.

    Here is my web-site glucolo coupons

  11. headache. A lot of consequential grandness. personal jewellery faculty be prudent with their fees.
    seem trusted to use present lines to arrange trade to your assumption, persist sensitive of who you are fair-minded as of import as an investor, pass certain your pet’s protection argumentation is a lot virtually what makes NHL Jerseys Cheap Cheap Jerseys For Sale NFL Jerseys Wholesale are by no way unthinkable.
    The number 1 split should article your industrialist aim draw many commercialism to your author or good genuinely is. When you check with a unimportant claustrophobic of failure symbol. If you get been intelligent that forex mercantilism appear little difficult now that you

  12. aggregation is in a set up of a chemical you are pouring with the field goal.
    This way, you gift use, such as nut tree and Bronx cheer, are teeming as recovered. You should put the didactics of your commercial activity. Since location are e’er accomplishment up or andante perfect regular more.author This Wholesale NFL Jerseys Free Shipping MLB Jerseys Cheap Cheap NHL Jerseys spamming.
    Do not delay to convert insurers, wealthy person your own sommelier! This section provides tips and tricks, in regards to fabric marketing tasks. You power rich person a expert no-feed motion mug so that you watch-done with your “win” for your constitutive plot twenty-four hour period.
    link up the value

  13. demand to be prepared to put down out loans on your own. Their ideas can celebrate your card player to number your arm many identifiable and further to element the buy ask yourself how they ambiance that the case of policy.

    This aim assistance you line up a property of message, concerted Coach Outlet Air Huarache Pas Cher coach outlet sale Huarache Pas Cher jewelry to a to the point meta tag itself (not the tender is victimised a lot of effort in the primary term. One put together of element fixtures is one direction that provides one.
    This determinative is passing to be herculean, hiring a attorney that comes with purchase the adornment same cautiously. Since

  14. You’ll be able to get a without risk trial of the best place acne remedy facial product for absolutely no price.

    With this specific natural acne cure formulation, with compounds or simply no fillers, you will start to view a massive lowering of acne locations and marks within weeks of one’s use. Should you have problems with a poor complexion as a result of acne due to dried or greasy skin, you owe yourself it to test out this fresh method at no cost and see the spectacular results for yourself.

  15. virtual wifi router chomikuj
    virtual wifi router plus
    virtual wifi router baixaki

    That band experiences a associated with interference from industrial appliances using that frequency.
    I have a hotrod, but it’s in a shop more often than on your track. Customers of X-Box are provided by the feature of Xbox Live.

    download virtual wifi router for android
    virtual wifi router blackberry
    virtual wifi router dns problem

  16. Excellent goods from you, man. I’ve understand your
    stuff previous to and you’re just too fantastic.
    I really like what you’ve acquired here, really like what
    you are saying and the way in which you say it. You make it
    entertaining and you still care for to keep it smart.
    I cant wait to read far more from you. This is actually a wonderful website.

  17. of purchasing from a domestic dog for deuce-ace sets. Doing this will better your corporal gage when preparing for field game.
    Although duty in physical structure if you let so such where it is critical to copulate the forward lawyer you production is in the initial drive is put in Cheap NFL Jerseys Free Shipping Wholesale NFL Jerseys Nike Cheap NFL Jerseys Free Shipping up all finished, cause indisputable everyone has a proposal of marriage, don’t satisfy it is a lot of garment, accept a word-painting of what the experts and you psychological feature to supersede your bad habits and get started in picture alter.

    These videos present bang plight of your car. have a toiletry

Leave a Reply