Make your site more social using facebook social plugins

facebook-socialJust think 100 facebook users visit your site, among them 50 users like one of the article or product of your site. So 50 users friends will see in their homepage, that their friend liked your article or product. If 50 users have average 100 friends and among them 50 will visit your site then the calculation will be like 50 * 50 * …… = 2500 and more.

So using facebook social plugins you can make your site more social and engaging. Do you know how many users currently using facebook ? Its 400 milion. So why you will not take the power of facebook to promote your site.

Like Button


The Like button enables users to make connections to your web pages and share content back to their friends on Facebook with one click.


  1. Code is simple. Just one line iframe base code you can generate and could use in your site.
  2. The like message will post to user’s recent activity and friends feed.
  3. If a facebook user first time visit your page, they will see if any of his friends liked your page or not.
  4. For logged-in facebook users, the button is personalized to highlight friends who have also liked the page.
  5. Generate code from here

code sample:

<iframe src=";layout=standard&amp; show_faces=true&amp;width=450&amp;action=like&amp; colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px"></iframe>



The Recommendations plugin shows personalized recommendations to your users.


  1. User will see personalized recommendations
  2. For a logged in Facebook user, the plugin will give preference to and highlight objects her friends have interacted with.
  3. So user will trust more about your products.
  4. Generate code from here


Like Box

facebook likebox

Actually facebook changed their old fanbox name to likebox. You can create a facebook page where previously users become fan, now instead of becoming fan they will like it.


  1. See how many users already like this page, and which of their friends like it too
  2. Read recent posts from the page
  3. Like the page with one click, without needing to visit the page
  4. Generate code from here

Among all 8 plugins I like these 3 plugins most and already using for my sites and recommends to my friends. There are another 5 plugins you can use for your sites to make your sites more engaging place.

So checkout all of these plugins from here. Some plugins don’t provide iframe base code but XFBML code. So you have to check the latest javascript SDK implementation to integrate those plugins and XFBML code in your site. I’ll soon write an article about the latest javascript sdk implementation. So hope I’ll see you again in my next article. 🙂

mahmud ahsan

Computer programmer and hobbyist photographer from Bangladesh, lives in Malaysia. My [Github | Business | Twitter | Linkedin | Instagram | 500px]

You may also like


  • olabode folarin
    December 13, 2010 at 8:11 am

    when i generate Like Box plugin code for my site please where do i had the iframe and XFBML code

  • philipp
    December 20, 2011 at 2:34 pm

    Hi mahmud,

    thx for all the nice tutorials. I try to work with fb:registration plugin – xfbml and php-sdk3.0.

    I get the array with all the things i want 2 bring on my sql-database. But I dont know how 2 bring it to my database.
    Second Thing is i want 2 save firstname and surname separatea and not the fullname. Can U help me solving this problem?

Comments are closed here.

About Me

Computer programmer and hobbyist photographer from Bangladesh, lives in Malaysia. My [Github | Business | Twitter | Linkedin | Instagram | 500px]


Working life at home Muaz < 4 Months Muaz and Jayed First Smile Little Angel Trees Horse Ride Maritime Museum in Malacca Dome of Blue Mosque Malaysia

Twitter Feed