Skip to main content

How to Add Facebook Popup Like Box to Blogger Blogs

Facebook has released many widgets for Blogger and Facebook popup like box is one of them. A good fan base is the best source of huge traffic and the social media interaction improves the search engine optimization of your blog. Using this one time Facebook popup like box your readers can reach your page easily and this will earn you more like's to your fan page.

Without readers your article is a big zero, regardless of the quality of the article, Facebook can increase your blog article readership.

Compare to WordPress Blogger have fewer widgets but Facebook like box is a part of social media widget collection and proper use of these widgets can contribute a large difference.

If your website gets any penalty from Google, there is a huge possibility to drop in search engine rankings and decrease in organic traffic. So for successful online marketing, a backup plan is necessary to maintain visitors and Facebook is the perfect choice for it.

Why you should choose Facebook as secondary source to get traffic:

Facebook popup like box for blogger


The answer is simple, the most popular social network has more than 1.94 billion active users. This huge number of active users are the best source to get exposure.

Like social media, we know email marketing is one of the popular ways to reach customers, every blogger should start collecting email from day one. The major limitation of email marketing is that your mail may not reach its audience because of spam filter and even there is a minute chance to shut down your website if several customers report your mail as spam. Due to these reasons, Facebook can dominate email marketing.

A well maintained Facebook page has following benefits:

1. Building the Brand, if you continuously provide valuable and informative articles, people's will follow you without considering how popular your website is. By consistency and responding to visitors queries you can earn trust, this is the basic step to building a brand.

2. More traffic, Facebook page will definitely increase your blog traffic if you use it properly. Sharing increase exposure, more exposure means more traffic. By using attractive images and description number of clicks can improve.

3. Boost SEO, we already know the importance of social signals when it comes to SEO. Facebook enhances the social media interaction to boost SEO, which will bring more visitors via search engines.

How to Add Facebook Popup Like Box to Blogger Blogs

1. From Web browser log into your blogger account and select the blog you want to add the widget.
2. Now from the dashboard navigate to 'Layout' and click on ' Add a Gadget' in the sidebar.
3. When the popup window came, select 'HTML/JavaScript' and paste the below code.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>
<style>
#fanback {
display:none;
background:rgba(0,0,0,0.8);
width:100%;
height:100%;
position:fixed;
top:0;
left:0;
z-index:99999;
}
#fan-exit {
width:100%;
height:100%;
}
#fanbox {
background:white;
width:420px;
height:270px;
position:absolute;
top:58%;
left:63%;
margin:-220px 0 0 -375px;
-webkit-box-shadow: inset 0 0 50px 0 #939393;
-moz-box-shadow: inset 0 0 50px 0 #939393;
box-shadow: inset 0 0 50px 0 #939393;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin: -220px 0 0 -375px;
}
#fanclose {
float:right;
cursor:pointer;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTGpEZZ1DPgM8nT391kLzlPiK9hIkMa8hXn5Y-LDFllIpu83ttEoMtnJGQxcwLPmJ1FCspTG-U7Tg98A6sXaihyphenhyphenUiCFuYcjJ8po27diSdrjbtkp8GWooufwrbJ1UuZvLjQnRrjleFKQzZr/s1600/fanclose.png) repeat;
height:15px;
padding:20px;
position:relative;
padding-right:40px;
margin-top:-20px;
margin-right:-22px;
}
.remove-borda {
height:1px;
width:366px;
margin:0 auto;
background:#F3F3F3;
margin-top:16px;
position:relative;
margin-left:20px;
}
</style>

<script type='text/javascript'>
//<![CDATA[
jQuery.cookie = function (key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && String(value) !== "[object Object]") {
options = jQuery.extend({}, options);
if (value === null || value === undefined) {
options.expires = -1;
}
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=',
options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// key and possibly options given, get cookie...
options = value || {};
var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
//]]>
</script>
<script type='text/javascript'>
jQuery(document).ready(function($){
if($.cookie('popup_user_login') != 'yes'){
$('#fanback').delay(10000).fadeIn('medium');
$('#fanclose, #fan-exit').click(function(){
$('#fanback').stop().fadeOut('medium');

});
}
$.cookie('popup_user_login', 'yes', { path: '/', expires: 7 });
});
</script>
<div id='fanback'><div id='fan-exit'></div><div id='fanbox'><div id='fanclose'></div><div class='remove-borda'></div>
<iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?
href=http://www.facebook.com/326511797720823&width=402&height=255&colorscheme=light&show_faces=true&border_color=%23E2E2E2&stream=false&header=false'
style='border: none; overflow: hidden; margin-top: -19px; width: 402px; height: 230px;'></iframe>
</div></div>
4. After adding the code correctly and click on 'Save' button to complete it.

Customizing Facebook like box:

You can make some changes to this code according to your wish.
  • To insert your Facebook page URL, replace http://www.facebook.com/326511797720823 with the URL of the page that you want to show.
  • Currently, the widget will show 10 seconds after loading the page. You can increase or decrease the delay by changing '10000' in .delay(10000)
  • Do you want to show the like box every time new page loads? Remove $.cookie('popup_facebook_box', 'yes', { path: '/', expires: 7 }); from the above code.
Final word

Keeping the readers using a subscription box is always a nightmare for many bloggers. I am sure that if your blog has a decent number of readers you can keep them easily because when a new reader opens a page Facebook like box will popup, this will increase the chance of getting more like's. As a result, Whenever you share a post on Facebook, your blog will get more traffic. This widget will work well with some niches like Sports, Technology etc. Writing articles with attractive headings will boost your traffic.

Hope the article helped you if you have any doubts regarding this feel free to share with us via comments. Happy blogging!

Comments

Popular posts from this blog

How To Make Money On Blogger Without Adsense

Some people takes blogging as a hobby and some takes as their passion, you can make your passion into money if you take some effort. Blogging is a best source of online money, we all know Adsense is one of the best way to make money from a blog. Here am going to tell you about how to make money on blogger without Adsense. There are hundreds or thousands of blogs are giving ideas about how to make money with blogger. Some of them are giving a wrong details, this given a bad name to make money from blogger.  Can you Really Make money with Blogging? The answer is yes, you can create a decent amount of money from blogger. If you're passionate about a subject and you have decent writing skills, blogging definitely could be an alternative career path for you. 1. Join Pay per click advertising Program.                                       ...

How To Create A Blog For Free And Make Money With Blogspot

Creating a blog on blogspot  is not a difficult task, it is easy and free. If you like to share your thoughts and ideas to your surroundings, a blog is the best way. If you are serious about it even you can earn a decent money from it. So here I will teach you about  how to create a blog for free and make money with blogspot . There are many newbies afraid to create self hosted blogs, those don't have a good knowledge about blogging world Google Blogger is one of the best way to start because it is free and easy. The good news is that it doesn't need any skills to  create a blog for free. As I mentioned above, we can create blog easily but getting a good traffic is the difficult part. Traffic is a reward for our hard work, to drive a huge traffic to your blog read my  30 Amazing tactics to get more traffic on blogger. The main purpose of this article is to help the beginners to enter the blogging world. So,  what is blogspot?  Acco...

How To Add Stylish Related Posts Widget for Blogger With Thumbnails

Related posts with thumbnail is an important widget for a blog, it has an ability to keep the readers in your blog. There is no widgets are available for related posts from blogger, so we have to do it by little html coding. Don't worry! Here I'm going to give you a complete step by step guide with picture to add a stylish related post widget for blogger with thumbnail. When we talks about SEO, internal linking contribute a large role in increasing the page views. If a reader enters into your blog they automatically see the 'related posts' widget, this may attract your visitor to click on the next post which will increase your overall pageviews. There are lots of  third-party  related posts are available for blogger but they may affects your blog badly because they increase the loading time which cause negative impact on seo of your blog. Step by step guide  to add stylish related post widget for blogger with thumbnail. Step1 : From Blogger Dashbo...