Add Facebook Like Button
Recently I added Facebook Like Button to my website so thought of sharing the process of how to add Facebook ‘LIKE’ button on a website.There are two methods by which you can add Facebook Like Button to your website.First is by using iframe and second is by using XFBML.If you want to add Like button via iframe, copy and paste the below code :
<iframe src=”http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action=recommend&colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:60px”></iframe>
If you wish to use XFBML use the below code :
<script src=”http://connect.facebook.net/en_US/all.js#xfbml=1″></script><fb:like show_faces=”true” width=”450″></fb:like>
For more information on Facebook Like button, Click here.After adding Facebook Like button, it is very important to gain insight into it; how many people sharing it etc.To get insights into Facebook like Button, goto Facebook Insight and Click on ‘Insights for your domain’ button at top-right side.Enter your domain name and copy the meta tag shown there.Add this meta tag to your header file.Within few minutes Facebook Like button insights will be available to you.I believe using this method is far better than using some plugins which result in slowing down your webpage load speed.Try this and do share your experience.
Popularity: 11%
- Share this:
- Share
Like Us on Facebook
My Favorite
Archives
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010

![[del.icio.us]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/google.png)
![[LinkedIn]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/linkedin.png)
![[MySpace]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/reddit.png)
![[Squidoo]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/squidoo.png)
![[StumbleUpon]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Twitter]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.blog.usefulfreetips.com/wp-content/plugins/bookmarkify/email.png)









Recent Comments