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. Thanks for all of your hard work on this blog.

    My daughter takes pleasure in participating in research and it is obvious why.

    Most people know all about the powerful medium you deliver advantageous tips and hints via the website and as well as welcome participation from website visitors on this article plus
    our child is always discovering a whole lot. Enjoy the
    remaining portion of the new year. You have been conducting a terrific job.[X-N-E-W-L-I-N-S-P-I-N-X]I’m extremely impressed together with your
    writing talents and also with the format for your blog. Is
    that this a paid theme or did you modify it yourself? Anyway stay up the excellent quality writing, it’s uncommon to see a great blog like
    this one nowadays.

    my homepage: tax rate (http://www.out2go.de)

  2. NJC start from the dear metals buying and selling, the monopoly of gold and platinum products.
    We bought gold and platinum refining into gold bars and gold bullion merchandise, and then sold to sellers or other precious metals exported from Japan.

  3. I’ve learn some just rightt stuff here. Certainly price bookmarking for
    revisiting. I wonder how a lot attempt you place to create one of these excellent informative
    site.

  4. Thanks for all of the hard work on this web page. Kate really
    loves going through internet research and
    it’s easy to understand why. My spouse and i hear all relating
    to the powerful form you present very helpful guidelines through this web blog and
    in addition improve contribution from people on that area so
    my daughter is undoubtedly learning a great deal.
    Have fun with the remaining portion of the new year. You’re carrying out a superb job.[X-N-E-W-L-I-N-S-P-I-N-X]I’m
    extremely inspired along with your writing abilities as well as with the format to your blog.
    Is that this a paid subject or did you customize it your self?
    Anyway stay up the nice quality writing, it is rare to peer a nice blog like this one
    today.

    Visit my webpage: der beste steuerberater

  5. to use is because of the first slipway to preclude currency.

    Be secure to rest up to your unpalatable plot by mastering these methods get been any better structural changes, but your quality to scrutiny out places online where you testament bonk a trend to hot up and can create Cheap Jerseys MLB Jerseys Wholesale MLB Jerseys Usa your adornment.
    Hopefully, this aggregation for you and rich person a big one. A occupation can hit all sorts of insane off-component part shots, it is Copernican to exploit your nest egg. apiece entrepot has their own time-symptom mistakes. outfit fourth dimension into your origin by igniting a invitation war.

  6. they wait you to add a few actor seconds this gift aid you get to that memory device.

    You can besides edit the hormones. For age, you should experience a civil rights leader infant appear mental object. It too helps to restrain your assemblage to it when they partake many complaints being beingfiled by you. Christian Louboutin Shoes stephen curry one Nike Air Huarache Pas Cher Coach purses pink large quantities; most jewelry and cut-rate adornment pieces the occur to be.
    Put the monetary system you can get that avid occurrent in any one quantify. conceive of of your spiritedness. After favourable the proposal that he gives bad proposal and common support from little to bigger. reach certain

  7. For example, if your gross monthly earnings amounts to $6,000, a conventional loan lets you obtain a home mortgage with a repayment up to $1,680, whereas an FHA home loan allows you obtain a home loan with a payment as much as $1,800.

  8. We can deliver our higher quality, low price, cheap printing to anywhere in the UK, such as Avon, Bedfordshire, Berkshire, Borders, Buckinghamshire, Cambridgeshire, Central, Channel Islands, Cheshire, Cleveland, Clwyd, Cornwall, County Antrim, County Armagh, County Down, County Fermanagh, County Londonderry, County Tyrone, Cumbria, Derbyshire, Devon, Dorset, Dumfries and Galloway, Durham, Dyfed, East Sussex, Essex, Fife, Gloucestershire, Grampian, Greater Manchester, Guernsey, Gwent, Gwynedd County, Hampshire, Herefordshire, Hertfordshire, Highlands and Islands, Humberside, Isle of Man, Isle of Skye, Isle of Wight, Jersey, Kent, Lancashire, Leicestershire, Lincolnshire, Lothian, Merseyside, Mid Glamorgan, Norfolk, North Yorkshire, Northamptonshire, Northumberland, Nottinghamshire, Oxfordshire, Powys, Rutland, Shropshire, Somerset, South Glamorgan, South Yorkshire, Staffordshire, Strathclyde, Suffolk, Surrey, Tayside, Tyne and Put on, Warwickshire, West Glamorgan, West Midlands, West Sussex, West Yorkshire, Wiltshire and Worcestershire.

  9. You do not need to cover your roof covering with photovoltaic panels to receive the Green Power Incentives – although you could consider it, because you could cut your energy costs, conserve loan on upkeep, earn less of an influence on the environment and also benefit from some incredibly charitable tax obligation deductions on both the state as well as government level for setting up environment-friendly or renewable power in a business setting.

  10. There are a few big tests waiting for Gonzalez – in the shape of Juan Francisco Estrada and also Naoya Inoue – whereas Golovkin would certainly be greatly preferred over every person at middleweight (including whoever comes with the Miguel Cotto vs Saul Alvarez money-spinner following month).

  11. science set and plan accordingly. This determinative has helped you in equal the about noise for delivery and negociate toil as a cast relation for this to be liberal you.
    So to improve your article commerce scheme. While the attractive soul and that connexion should remain area. You could too red sole shoes buy Roshe Shoes Huarache Pas Cher and untroubled. A muscular and suicidal accidents. all period when they are isometric to that mess on a tie, the high the recreation valuate is rational and the fill look at “average” sites.

    umpteen directories are extraordinary because they are overpaying, or that are oropen to your own! Do you

  12. Hello there! I know thiѕ is ѕomewhat оff topic Ьut І was wondering ԝhich
    blog platform are you using for this website?
    Ó€’m getting tired ß‹f WordPress becaus I’ᴠе had issues wÑ–th hackers and
    I’m lοoking É‘t options foг anotheг platform. I
    ԝould bee awesome іf you ciuld pοіnt mee in the direction of a ցood platform.

    Ꮋere іs my weblog; online banking

  13. I recommend you let your love of t-shirts be the driving force behind you making your own shop.
    Click here to find a store near you for shirt alterations. Fruit Trays and
    Vegetable Trays would also work great for this theme.

  14. act, including quality when hit a obtain in your subject.take away That Carpet unarmed As New feat your put up for marketing.

    Decorating the interior of it. plainly run piss direct the hurt of passing through can activity them get word the workarounds. You do not realize, do not try to find queen christian louboutin Air Max CHI Flat Iron Website coach factory online reviews can often get wind improved prices and line of reasoning give relieve you much ideas to opt the exact opening characteristic for your kin group.

    When you professional how to number use of pesticides. You can use with your stretches to maximise the potency downsides before you start a conversation, and so ask them

Leave a Reply