Facebook Like button is one of the way to share your content with your friends and blog readers. Social media is more important to gain more visitor to your website. Once people like your Facebook page then your post will be visible to their Facebook status page.
You can easily add this to your website if you follow below steps.
Step 1: Login to Blogger Blog.
Step 2: Select Template Section and click Edit Template.
Note: Before editing take backup.
Step 3: Copy the below Javascript SDK and paste it after opening <body> tag.
Step 4: Place the below peace of code to your website, where you want appear Facebook plugin.
Step 5: Thats it. Save your template and refresh your page.
Now you can see you Facebook like button on your website.
All the best !!!
You can easily add this to your website if you follow below steps.
Step 1: Login to Blogger Blog.
Step 2: Select Template Section and click Edit Template.
Note: Before editing take backup.
Step 3: Copy the below Javascript SDK and paste it after opening <body> tag.
<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/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<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/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Step 4: Place the below peace of code to your website, where you want appear Facebook plugin.
<div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-width="300" data-layout="standard" data-action="like" data-show-faces="true" data-share="false"></div>
Step 5: Thats it. Save your template and refresh your page.
Now you can see you Facebook like button on your website.
All the best !!!
No comments:
Post a Comment