Social Icons

Pages

Saturday 29 November 2014

How to add facbook page like on your blog

facebook has recently added the ability for its users to "Like" just about any content on the web and have that activity posted to the users' walls. This facility lets you share content more readily and also gives you an idea of how some of your readership traffic is responding to your content. This article provides step-by-step instructions on how to add the "Like" button to your Blogger (BlogSpot) blog, one of the more commonly used blogging services.                       1 Go to the "Facebook Developers" page: http://developers.facebook.com/docs/reference/plugins/like                        2 Specifically, select whether you want a "Like" or a "Recommend" button. The sample button on the page will automatically update to reflect your selections.                         3 Leave the "URL to Like" field blank. You will be replacing that soon.                      4 Go to the "Facebook Developers" page: . Set the options you want. Specifically, select whether you want a "Like" or a "Recommend" button. The sample button on the page will automatically update to reflect your selections. Leave the "URL to Like" field blank. You will be replacing that soon. Click "Get Code". You will see something that looks like this:                      5 Replace the following text: src= above with: expr:src=' http%253A%252F %252Fexample.com%252Fpage %252Fto%252Flike&layout part with: " + data:post.url + "&layout light" with: light"' -- notice the new trailing apostrophe height:px with: height:35px -- otherwise, Firefox will make the iframe really big. Leave a copy of the final code somewhere accessible for you to transfer to Blogger.                     6  Go to your Blogger Dashboard.                           7 Open your blog's layout and click Edit HTML.                        8 Find a place to put the Facebook "Like" code into your HTML layout. A good location is directly after or below:

No comments:

Post a Comment

 

Sample text

Sample Text

Sample Text

 
Blogger Templates