Dec 9, 2010

0

How to add a facebook like button on your blog or websites

  • Dec 9, 2010
  • eswar
  • Share
  • Facebook has become one of the best social networking website in the world, and more people's connect with their friends to share information.and also the most visited site in US.Everyday  which is growing around 450 million peoples in the world.

    Hence it can be a major source of traffic if utilized properly. So it become a necessity to involve facebook in your content and provide your visitors ways to share your content on their facebook profile.

    Facebook also wants their users to share third party content with their friends and motivates them to create ways to allow their users to do so. After launching their facebook sharing count buttons, Facebook has recently released a like button which allow bloggers or webmasters to provide their readers a way to share their content even more easy and fast more specifically with just one click and no popups.

    How to add a facebook like button on your blog?


    I am going to explain the installation on blogger or blogspot blogs.

    1.Login to your blogger account. Go to your's Layout panel and then go to the Edit HTML.

    2.Now click the Expand Widget Templates check box.

    3.Now in the template search for <data:post.body/> and just after this line paste the following code.

    <iframe src="http://www.facebook.com/plugins/like.php?href=data%3Apost.url&amp;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:50px"></iframe> 


    4.Now save the template and you are done and then click preview .


    0 Responses to “How to add a facebook like button on your blog or websites”

    Post a Comment

    Subscribe