Add fb Like button To Blogger
Facebook is the best and mostly used
social networking site used by people now days. So we are providing the
steps how you can add this Facebook like button to blogger posts easily.
Firstly:
1.Go to Blogger Dashboard > Design > Edit HTML.
2.First take a backup of
your template.
3.Tick the expand widget check box
4.Find for below code in your template
<data:post.body/>
5.If you wish to add like button just below of post title the add the below code just before of<data:post.body/>
and if you wish to add this like button just below of your post then add below code just below of <data:post.body/>
Different types of like buttons for Facebook:
There are three styles in which you can add like button :
1.vertical count
2.horizontal count
3.without count
1. Vertical Count
<b:if cond='data:blog.pageType != "s
tatic_page"'> <iframe
allowTransparency='true' expr:src='"http://ww
w.facebook.com/plugins/like.php?
href=" + data:post.canonicalUrl +
"&send=false&layout=box_count&s
how_faces=false&width=55&
;action=like&font=arial&colorscheme=light&am
p;height=62"' frameborder='0'
scrolling='no' style='border:none; overflow:
hidden; width:55px; height:62px;'/> </b:if>
tatic_page"'> <iframe
allowTransparency='true' expr:src='"http://ww
w.facebook.com/plugins/like.php?
href=" + data:post.canonicalUrl +
"&send=false&layout=box_count&s
how_faces=false&width=55&
;action=like&font=arial&colorscheme=light&am
p;height=62"' frameborder='0'
scrolling='no' style='border:none; overflow:
hidden; width:55px; height:62px;'/> </b:if>
2. Horizontal Count
<b:if
cond='data:blog.pageType != "static_page"'>
<iframe allowTransparency='true'
expr:src='"http://www.facebook.com/
plugins/like.php?href=" + data:post.canonicalUrl + "&send=false&layout=button_count&show_faces=
false&width=90&action=like&font=arial&colorscheme=lig
ht&height=21"' frameborder='0' scrolling='no' style='border:no
ne; overflow:hidden; width:90px; height:21px;'/> <
/b:if>
plugins/like.php?href=" + data:post.canonicalUrl + "&send=false&layout=button_count&show_faces=
false&width=90&action=like&font=arial&colorscheme=lig
ht&height=21"' frameborder='0' scrolling='no' style='border:no
ne; overflow:hidden; width:90px; height:21px;'/> <
/b:if>
3. Without Count
<b:if cond='data:blog.pageType != "static_page&
quot;'> <iframe
allowTransparency='true' expr:src='"h
ttp://www.facebook.com/plugins/like.php?
href=&q
uot; + data:post.canonicalUrl +
"&send=false&layout=standard&
show_faces=false&width=450&
action=like&font=arial&colorscheme=light&height
=35"' frameborder='0'
scrolling='no' style='border:none; overflow:hid
den; width:450px; height:35px;'/> </b:if>
quot;'> <iframe
allowTransparency='true' expr:src='"h
ttp://www.facebook.com/plugins/like.php?
href=&q
uot; + data:post.canonicalUrl +
"&send=false&layout=standard&
show_faces=false&width=450&
action=like&font=arial&colorscheme=light&height
=35"' frameborder='0'
scrolling='no' style='border:none; overflow:hid
den; width:450px; height:35px;'/> </b:if>
IF YOU FACE ANY TYPE OF PROBLEM THEN PLEASE TELL AND COMMENT BELOW IF YOU LIKE IT. :)
Its not working when i try it I saw the following dialogue "Error parsing XML, line 1234, column 34: The reference to entity "amp" must end with the ';' delimiter."
ReplyDeletere type ,,
ReplyDelete