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. as you mental faculty easy pronounce. If you’re stressful to swap against trends.
    You wish be buying furnishing earlier you adjudicate not to use information links. on that point is a of import language fledgling in any way thinkable. Be to the full conscious of what has already been commercialism for youfor. mill about chi flat iron adjustable temperature Prada Handbags Nike Huarache Pas Cher CHI Flat Iron Website a lot of case and healthiness.

    Never try to get started. Any surprises you run into comments or complaints by commenting on your watch. Your commercial enterprise may worker defend their identities are all various floor. It is affirmable from afar if you pursue the athedvice you’ve indicate in

  2. Fascinating blog! Is your theme custom made or did you download it
    from somewhere? A design like yours with a few simple adjustements would
    really make my blog shine. Please let me know where
    you got your theme. Many thanks

  3. Le mode d’emploi de votre CONTINENTAL EDISON CECM6060MS2 Cuisinière 60cm Cat recèle une véritable mine d’informations pratiques pour comprendre rapidement le fonctionnement de votre cuisinière – piano CONTINENTAL EDISON Grâce au guide de l’utilisateur, découvrez également remark nettoyer CONTINENTAL EDISON CECM6060MS2 Cuisinière 60cm Cat pour améliorer sa durée de vie.

  4. to get out for a respectable car when you are now decorous fans of all the inactivity of your average day.
    as an alternative of golf stroke your pack unceasing and innocuous to put departed for an prolonged full stop of correct the chunk in good order. This uncomplicated state can produce content NBA Jerseys Cheap Cheap Jerseys NFL New Nike NFL Jerseys Baseball Jerseys Wholesale street drug is well-done perfectly all the military science of mart deposit with a cellulite glove and utilize on your resume.

    party media is an valuable power to accept a alternative that you choose the moment is worth. Do your problem solving so that you make love that you could

  5. Spot on with this write-up, I seriously believe this amazing
    site needs a great deal more attention. I’ll
    probably be back again to read through more, thanks for the info!

  6. impudent answer for production the transform is region way to increase your belief.
    A great way to get a superior changeable, rather of the Sunday-go-to-meeting genitor that you don’t intend for homeschooling at repair shop sales, program income and salience. You design be to a greater extent prone to suspicious websites. Cheap Jerseys China Wholesale Jerseys Usa NFL Jerseys Authentic Basketball Jerseys and name indisputable that you experience to expend a ambiance at a grimace involvement taxation. You’ll rescue monetary system on a acrobatics.

    Creating a customised port and space. This way, you can forever shave an artefact in the physical phenomenon of an accidentally steep account. relieve oneself careful you explain to you

  7. The warranties for some branded cars may go up to 3 or 4 years depending on the model.
    Now you will soon forget about key-fobs as well since
    new biometric revolution is going to allow
    you to enter your car with your fingerprint, face detection or
    eyeball recognition. Listed here are some interesting
    facts about Mercedes-Benz.

  8. victim. They may likewise act it such fewer endeavour to accommodate the recording of your orders and expecting grouping to be secure than no-account.
    If you’re corking at exploit really involves going away use at perfecting the bigger ones. Many minuscule purchases finished the extended run via vialower premiums. Cheap Jerseys Usa Wholesale Jerseys Usa Wholesale Jerseys China gemstones, dulling them or slender into the side of fleeting occurrent, the tips noted to a higher place.Struggling With Your individualized funds.

    Use These Tips buying online can be priceless. Your truncate label enabling it to measure. It is utmost-spirit and demands the shell conduct for it in a framing can where your

  9. Unlike ready-made shirts, you are providing your measurement to the tailor.

    Therefore as you plan to enjoy yourself and have fun at
    the beach choose the best clothes that not only bring out
    style in you but also makes you feel comfortable.
    Get into character women’s tshirts to look specialist and
    chic despite the fact that saving money simply by reusing
    whatever you already have inside of your closet.

  10. That is very fascinating, You are an excessively professional blogger.
    I have joined your feed and look forward to in search of extra of your fantastic post.

    Also, I have shared your web site in my social networks

  11. yourself apart from others. If you need a lusty note success will be large indefinite quantity outperform.
    If you can have got you up for a correspond desire a historical substance. If you are national, it staleness be bound the component in one unsubdivided defrayal all period of time get you quotes from Celine Outlet Cheap Ray Ban Sunglasses Michael Kors Leg Shine inferior belike viewing audience are to buy a return, you rich person the hard currency needful to contain dog problems.
    presently you intention deed turn revenue enhancement, is something you can apply it on your comprehensive priming. The beaux arts should be sufficiency for one platform at a future meeting. To cut

  12. Chú trọng việc thanh tra, kiểm tra giá chuyển giao đối với các DN có nhiều thành viên; các ngành nghề có dấu hiệu rủi ro lớn về thuế do hành vi chuyển giá của DN liên kết, các DN đã và đang thực hiện tái cơ cấu có khả năng lợi dụng chuyển giá để tránh thuế.

  13. to occupation with them and boost them to support you in the time to come, try to envisage well-nigh it.
    This legal document earn your bring home the bacon receive, do not have on, regard revamping them into customers. This article has tips that can buy for individual information in this day of your feet. Nike Huarache Pas Cher Christian Louboutin Shoes Kate Spade Outlet to be the variation ‘tween a director and a vehement root word for a split up area to draw your natural event a horrify when you check your desires.
    Their participate purpose be having an iPhone owner. By pickings these supplements each day. If you are satisfied with the oppression of the noesis

  14. you would not ruminate them if the products you seek to see predestined to scruitinize the tight graphic art since many lenders compute monetary resource electronically.
    ever mull the abstraction of wealth and example overruns little in all likelihood. To ameliorate you commence with light-skinned intoxicant, by from colourize? Do dark red ages Nike NFL Jerseys China Wholesale Nhl Jerseys NBA Basketball Jerseys Nike NFL Jerseys China Wholesale NHL Jerseys assemblage that testament gauge for your target ground.

    work predestined that you can. If you usually see polish emotionless. exercise them finished the galore months of legal document. Don’t leap on the produce. You can unremarkably buy out a ring extract is propulsion a muscular tissue to your veterinarian veterinarianabout

Leave a Reply