Search This Blog

Home » » Adding Facebook Follow button in Website

Adding Facebook Follow button in Website

Written By Harsha on Wednesday, 8 May 2013 | 19:20

Adding Facebook Follow button in Website




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<div id="fb-root"></div>
<script>
(function(d, s, id)
{
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}
(document, 'script', 'facebook-jssdk'));
</script>
<!--Using XFBML-->
<fb:like-box href="http://www.facebook.com/htsipl" width="292" show_faces="true" stream="false" header="true"></fb:like-box>
<!--Using HTML5-->
<!--<div data-href="http://www.facebook.com/horizoninformatic" data-width="292" data-show-faces="true" data-stream="false" data-header="true"></div>-->
<!--Using URL-->
<!--http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fhorizoninformatic&width=292&height=290&show_faces=true&colorscheme=light&stream=false&border_color&header=true -->
</body>
</html>

0 comments:

Post a Comment

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS