Facebook has come up with a new set of Social plugins which enable you to provide engaging social experiences to your users with just a line of HTML. The Facebook Like Button is One of them. You can see a demo of the like button on this page. The Facebook like button will allow your readers to quickly share your posts with their Facebook Friends. You can also get to know how many people liked your Blog Post .
How to Add the Facebook Like Button Below every Post
1. First Generate the Facebook code using the options below. (Code will be updated with these details)
Button Type
Text on the Like Button
Color Scheme
Font
Float
Location
Display
<b:if cond='data:blog.pageType == "item"'><div><iframe allowTransparency='true'expr:src='"http://www.facebook.com/plugins/like.php?href="+ data:post.url + "&layout=button_count&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no'style='border:none; overflow:hidden; width:450px; height:40px;'/></div></b:if>
2. Copy the Above code. Login to your Blogger Account and go to Design > Edit HTML and click on the check box which says “Expand Widget Templates”
3. Look for <data:post.body/> and immediately after that place the copied code.
4. Save the template and you should see the Like Button near each of your posts. You are done :)
Do you feel that the Like Button is boring and not so likable? – Then checkout the Facebook Like box, a styled version of the Like Button which would definitely bring you more “Likes”
3. Look for <data:post.body/> and immediately after that place the copied code.
4. Save the template and you should see the Like Button near each of your posts. You are done :)
Do you feel that the Like Button is boring and not so likable? – Then checkout the Facebook Like box, a styled version of the Like Button which would definitely bring you more “Likes”
Upgrading the Old Like Button to the Newer Design?
If you are trying to upgrade your Facebook Like button to the newer design, then Go to Design > Edit HTML and Expand your Widget Templates. Look for layout=standard in the Facebook iframe code. and change it to layout=button_count , save the template and you are done :)
0 comments:
Post a Comment