How to Add Facebook Like to BloggerSteps
- 1Go to the "Facebook Developers" page:http://developers.facebook.com/docs/reference/plugins/like.
- 2Set 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.
- 3Leave the "URL to Like" field blank. You will be replacing that soon.
- 4Click "Get Code". You will see something that looks like this:
- 5Replace the following text:
src=above with:expr:src='
http%253A%252F%252Fexample.com%252Fpage%252Fto%252Flike&layoutpart with:" + data:post.url + "&layout
light"with:light"'
-- notice the new trailing apostropheheight:pxwith: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.
- 6Go to your Blogger Dashboard.
- 7Open your blog's layout and click Edit HTML.
- 8Back up your template! Do this by clicking Download Full Template.
- 9Check Expand Widget Templates.
- 10Find a place to put the Facebook "Like" code into your HTML layout. A good location is directly after or below:
- Use the browser "Find" mechanism to help you locate it.
- 11Save and check that the button has appeared. Once you can see it, you're done!
Personal Email Account
Get Spam Free & Ever Growing Inbox With Free Online Storage.
Explore.live.com/WindowsLiveHotmail
No comments:
Post a Comment