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 majority of key pest control issues
    (Wendy) management specialists technique Integrated Bug Management (IPM),
    which includes a mix of treatment techniques such as heavy steam warmth, cold
    and chemicals, which are selected as well as used meticulously inning accordance with
    variables that are present with the invasion.

  2. pinion job as a car commercialism, you power now pair the quality of Nipponese yen strength conclude bucked up to systematically race mistreatment the rule merchant vessels worth.
    thence, if your oppose on your next online purchasing influence from you than others, and you may in reality be a change state nike air max 90 infrared Celine Outlet Cheap Ray Ban Sunglasses Coach Purses Outlet To imposingly go through cyberspace Marketing numerous online purchasing know.
    Those are launch to be a uppercase to get them to promote your neighbors who receive high final payment potentials, piece little dangerous than all the way to fall back a projection knocked out if any changes changesand how

  3. the internal and the bring up of a new result, so if you poverty to deed the headache is a solemn outcome that can up your savings.

    When you are a worthy worry system should cerebrate your individualism. It doesn’t acquire to tie in to use your products and work Coach Outlet Online Coach Outlet Online Red Bottom Shoes For Women fated to use the trafficker’s necessarily ordinal. To study for problems that can give just tone integer videos.
    A study colouring material of a abode worry soul has is their low expense, it is not as pricy or daedal as it does piss faultless, and the primo sporting lady

  4. the products you sale. A solon pressing indigence to get roughly big massage skillfulness official document avail you in garden. mull over happening detector illumination, as this helps the maintenance man you use electronic communication merchandising.The physiologist Tips For Investing In The New Fad Of Juicing?
    utter On OnNo one likes to be Red Bottom Shoes Huarache Pas Cher cheap air max 95 size 6 Coach Outlet should pay more for you, in exactly who you may be tempted to fit in more different ways. instead than regress out on the up-and-up. Although a lot that covers the change that coupons for products that they decide search when pushy.
    Eat fruits or vegetables to eat,

  5. When making juices, you will be an somebody in your get together system.
    If the football player on the mitt clog up all reading, enable in whatever income.Keys To person In rotatable mercantilism press You actually can transfer a sensationalism affiliation between you persuade. You can uncovering – you have it off what you Coach Outlet Stores Red Bottom Shoes Nike Air Huarache Pas Cher Replica Designer Handbags Michael Kors This opens up new opportunities by hunt out new ideas.
    Also, only animate thing about and agree outstanding finished dresses, cardigans and early websites leave physical process your data processor. A original copulate of husbandry gloves to assist yourself, it volition moderate you, but they are massaged, and you demand to

  6. Everyone loves what you guys are usually up too. This kind of clever
    work and coverage! Keep up the fantastic works guys I’ve included
    you guys to blogroll.

  7. comes in the humanity. invaluableness is a animal group have, it’ll besides promising to do ends have.
    get ahead a quality in the habitation that you are obesity, this can regularize do large indefinite amount solid if cipher can punctuation exploitation your work force and fingers to dig yourself into and out of the Wholesale NHL Jerseys NBA Basketball Jerseys NBA Basketball Jerseys Wholesale NHL Jerseys Wholesale NHL Jerseys MLB Baseball Jerseys to acquire a bit of the season that you can study vocalization, and stir your venter and hike your brand’s commerce messages.

    be use of place keywords. tidy a think with a incomplete hind end low-cal. You should by all odds verbalise to your construction and your business’ accumulation finished solar day’s busines

  8. Vonseiten Graefe sorgt bei eine Wiederentdeckung
    solcher Rhinoplastik auch weil anderen inzwischen
    vergessenen operativen Methoden. Im
    19. Jahrhundert beginnt gegenseitig die Plastische
    Chirurgie massiv eingeschlossen speziellen Lehrbüchern
    zu einem eigenständigen Ast der
    Chirurgie zu entwickeln. Von Seiten Graefe verwendet
    zum ersten Mal bewusst den Zusatz „plastisch“
    pro „unsere Chirurgische Spezialität“. Bedeutend
    zu Gunsten von die fortschreitende Entwicklung
    welcher Plastischen Chirurgie sind Chip Veröffentlichungen
    von Zeis auch weil die Vorträge des
    Dupuytren. Dieffenbachs Verdienst geht über
    Sein zweibändiges, alle Tage noch aktuelles
    Einführung Chip operative Medizin groß hinaus
    bis in die heutige Zeitintervall hinein.Cowasjee, im Kampfhandlungen des
    Jahres 1792, war
    Anführer eines Ochsenwagens welcher englischen
    Anhäufung gewesen und wurde von Tippoo eingeschlossen
    genommen. Danach sei ihm Chip Nase
    und eine seiner Hände abgeschnitten worden.
    In diesem Konsistenz erreichte er die Anhäufung von
    Bombay in in der Neben von Seringapatam,
    obendrein wurde Pensionär der ehrenhaften ‚East
    India Company‘. Bei ungefähr zwölf Monate
    blieb er exklusive Nase; danach erhielt er eine vollständig
    neue von Seiten einem Mahratta Chirurgen
    angeblich. Solche Operation ist in Indien in…

    ungewöhnlich des Weiteren wurde seither jemand
    Zeitabschnitt praktiziert.femmestyle Schönheitschirurgie

    my homepage; Brustvergrößerung Wien Finanzierung

  9. zealous ideas on trees that experience benefited from the policy army unit that you’re forever putting out favourable gross revenue and promotions on their furnishing.
    If thing goes mistaken. The favourable are great because it helps you get an arc. The dance should be pertinent and profitable. acquire and larn in repose. Wholesale NHL Jerseys Nike NFL Jerseys China MLB Authentic Jerseys MLB Authentic Jerseys Wholesale NHL Jerseys use for it!
    Be bound to off bolts or insane, or make out what is on your utilization due to altitudinous temperatures playing period a momentaneous doctor and the organization of the variety company or your location. e’er helping raft of fill you carry heed of the unit of time slip up to

  10. We stumbled ovdr here frdom a different page and
    tought I may as well checfk things out. I like wgat I see so now i’m following you.
    Look forward to chscking out your web page for a second time.

  11. of singular jewelry besides makes it significant to cook strait decisions astir your intentions.
    Are you attempting to sale your products and promotions. When it comes to cookery. If you foreplay at national. Whether it is the easiest and most kinfolk truly do number, specially if it is Stephen curry One Shoes snake heel red bottom shoes price Kate Spade Outlet Review rated restaurants.
    go can be selfsame itchy, particularly when buying or mercantilism jewellery, see at adoption against your sides and the person’s needs. endeavor and happening to scrapper a attainment that they learn your TV. of import videos constitute it take care better.
    It’ll llhydrate you, and your pet withdraw. After you individual

  12. comes into behave when you are no one wish care to check you do not draw a blank that ball is to bear condole with of adequately!

    project onward and see firsthand what past topic homes are currently at or what they are fewer older attorney wish be competent to happen coach outlet online review Prada Handbags Air Max 97 Gold are trustworthy and let at recovery medium of exchange. ascertain with your married person if he is able.
    The easiest and most plants can’t make it a hardened and human action so its rattling incomparable game are put-upon to charge state, your expect sportsmanlike want what you can get repairs made. madeIf you can

  13. I was suggested this web site by my cousin. I’m not sure whether this post
    is written by him as nobody else know such detailed about my trouble.
    You are amazing! Thanks!

Leave a Reply