How to Add a Facebook Like Box to your Blog
This is Very Simple. Just Copy our Code Below and Change the URL of your fanpage.
Here is the Code:
<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>
<div class="fb-like-box" data-href="http://www.facebook.com/ourhelpcenter" data-width="220" data-show-faces="true" data-stream="true" data-header="true"></div>
Settings>> Change data-href="your page URL"
To Disable data-show-faces change data-show-faces="false"
To stop your Posts Streaming on the like Box change data-stream="false"
Here is the Code:
<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>
<div class="fb-like-box" data-href="http://www.facebook.com/ourhelpcenter" data-width="220" data-show-faces="true" data-stream="true" data-header="true"></div>
Settings>> Change data-href="your page URL"
To Disable data-show-faces change data-show-faces="false"
To stop your Posts Streaming on the like Box change data-stream="false"
HTML Comment Box is loading comments...
*/ -->
0 comments: