Add Facebook Recommendation Box Plugin in Blogger
Method To use Facebook Recommendation Bar
- Open your Blogger blog in which you want to use this gadget.
- Then open your blog layout and click on Add a gadget.
- New Widget will appear now find the option for Edit HTML/JavaScript
- In HTML box paste the below given code
<center>
<div id='fb-root'/>
<script>
//<![CDATA[
(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&appId=550805105002906";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//]]>
</script>
<div class="fb-recommendations" data-site="https://www.facebook.com/muhammadali.tariq.3" data-action="likes, recommends" data-height="400" data-colorscheme="light" data-header="true"></div>
</div></center>
Some Customization of Widget
- Replace https://www.facebook.com/muhammadali.tariq.3 with your blog or website.
- To change your widget height change the value of data-height="400"
- To change color data-colorscheme="light" replace light with dark.
Post a Comment