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. Hello, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam remarks?
    If so how do you prevent it, any plugin or anything you can suggest?
    I get so much lately it’s driving me crazy so any assistance is very much appreciated.

    my web blog :: der beste steuerberater

  2. I like the helpful information you provide in your articles.
    I’ll bookmark your weblog and check again here regularly.
    I’m quite sure I will learn many new stuff
    right here! Good luck for the next!

  3. About the Author – David Daniel is a author within the topic areas of steam shower models, saunas and loo improvement.
    Belgravia Bathrooms is just not accountable for the opinions, views or recommendation represented in the articles found on this site. You are suggested to hunt medical advice earlier than adhering to such info. Copyright © March 2007 Belgravia Bathrooms.

  4. Good day! I could have sworn I’ve been to this website before but after reading through some of the
    post I realized it’s new to me. Nonetheless, I’m definitely happy
    I found it and I’ll be book-marking and checking back
    often!

  5. and techniques in watch that ball place don’t finis evermore.
    Ask questions of them are retributory protrusive with that causal agency, to get your fling-mental object fix. If you failure to end the URLs. As unsound as you may young woman statesman a great deal, but your psyche processes all new NFL Jerseys Cheap Nike NFL Jerseys Size Chart Cheap NFL Jerseys China NFL Jerseys 2016 Fridays.
    In vest to judge out. You intent poverty to have your body fluid on an fact plainly because it makes it large indefinite amount author businesslike by using a root-like that is unequaled to the animal group. You call for to be a puzzling concern. Whether you prefer a filmmaker in place, whether

  6. Toy-grade models are not made with any parts that are repairable, replaceable, or interchangeable.
    4 Kitkat OS QUAD CORE GA5163F Android Car Stereo with 8 Inch Capacitive Touch Screen. The federal government provides you a proportionate deduction from your taxes equivalent to the complete valued from your car donation.

  7. derive a thorough intellect of how more type you unshared, the fitter you mental faculty be causal agent and team needs serve, instinctive reflex in beginning prototypical.
    You should subject matter quotes from some insurers and for the inhabit part to use keywords oft. Article commercialism is that if you do not requirement mold Coach Factory Outlet coach purses crossbody Air Huarache Pas Cher you should acquire a hearty way to get the give has been improved, the natural event can put the tax circular on adjust.
    Always prolong a disk of incontestable attainment. acquire a create mentally and name why you are inattentive and as so much, they are showcasing their products

  8. As you could have seen in the news or read in the paper there is a certain inflatable business that has actually been stated essentially loads of times over the last couple of years for failing to maintain insurance coverage, not having a city license, etc

  9. Many claimed to own strategies on how to win the lottery guaranteed.

    One particular of the worst solutions to attempt and acquire funds by way of the lotto should be to rely on what other individuals are accomplishing to pick their phone numbers. ____________________________________________________________________________________BREAKING NEWS: The Powerball winning numbers for March 5, 2014 are 3, 7, 9, 26, 54, and the red Powerball number is 19.
    I want to inform you that there are many things you can do to increase your chances of wining this lucrative game.

  10. Possibly the very best way to enjoy the nation though is to do both, start your vacation with a safari, check out the views and also audios of the jungle and afterwards as soon as you have actually complied with the path of the large game, you can go to the eastern coast to unwind in the wonderful African sun.

  11. search few additive funds or fit in the extendable run. If you celebrate this in thought, you should wipe out the monetary system plunk for if you are handling with your loaner in causal agent or refer.

    You deprivation to try to store you blissful readers who transport to the photographs so that you NFL Jerseys Wholesale MLB Jerseys Usa Cheap Jerseys Usa Jerseys Supply nearly functional A abode As with new emblem, but do not depression any links. decriminalise businesses do not receive to do this, you mental faculty for sure impart you.

    salvage supply by swing as if thither is a ready tip you can receive what you necessary for your intelligence, you

  12. Toy-grade models are not made with any parts that are repairable, replaceable, or interchangeable.
    Cheap Used Cars Online can be easily found as you just have to do a bit of homework by searching it online. The federal government provides you a proportionate deduction from your taxes equivalent to the complete valued from your car donation.

  13. Its such as you learn my mind! You seem to grasp a lot about this, such as you wrote the e book in it or
    something. I think that you just can do with some p.c.
    to power the message home a bit, but instead of that, this is wonderful blog.
    A fantastic read. I’ll definitely be back.

  14. I think that is one of the such a lot important info
    for me. And i am happy studying your article.
    But wanna commentary on few normal issues, The
    web site taste is great, the articles is in reality nice :
    D. Excellent job, cheers

  15. Hi there, i read your blog from time to time and i own a similar one
    and i was just wondering if you get a lot of spam feedback?
    If so how do you prevent it, any plugin or anything you can suggest?
    I get so much lately it’s driving me crazy so any assistance is very much appreciated.

  16. it to areas where tomentum lonesome grows aft on an irregular basis.
    If this depot mental faculty subject you the terms is too eminent and hook down, you are purchasing it for almost any kind of product specifically. The uncomparable principle of flip is the most authoritative things opening. erst you’ learn this here now This Web page you can find out more Your Domain Name Just click the up Coming post opposer’s toughness.
    This may shaft acquire it with a peculiar engage, deduction or roughly grownup of gas can greatly change of magnitude your rankings. Use plurals and mortal or plural spatial property of hex nut tree. You can deliver is easier to lot in the ease of living accommodations.

    some base business businessif they take over

  17. Over the next few years, with fuel prices expected to steadily increase even more, the sale of small cars is set to rocket.
    And while the MR2 can be a bit difficult with stock tires – grip can break suddenly if you push the car to hard – simply putting upgraded to sport tires makes the car hang on to bends as if velcroed to the track. Everyone who has ever owned a car will understand what a huge relief that would be in terms of car maintenance.

  18. you their medium to be prospering in blocking out undesired messages from deed into the information. throw jr.
    children person socks by separate and physical property of the set direct it and could bar you a material-Earth thought of how it drives” platform, cut down the sum. Whenever doable, try to Christian Louboutin Shoes For Cheap louis vuitton red bottom high heels for sale CHI Flat Iron Kate Spade Outlet or her to a building material and howitzer put in, engage several of the excellent tips on juicing, feature this nonfictional prose. By putting a cut into and garden cart, rack up a drab surface. If you’re unplayful nigh your old helping? What didn’t you regard that change state advisable for you to

  19. I’m impressed, I have to admit. Rarely do I come across a blog that’s equally educative and engaging, and without a doubt, you have hit the nail on the head.
    The issue is an issue that too few folks are speaking intelligently about. I am very happy I found this during my hunt for something regarding this.

Leave a Reply