Thursday, November 20, 2014
Facebook Auto Liker PHP Script for Fan Page Like | 3G Facebook Auto Liker PHP Script for Fan Page Like
Facebook Auto Like Code and Facebook Fan Page like PHP Script. These script hit your like page automatically. Copy the code and customize according to your Facebook Account and run the script.
PHP Script Here:
var robot={
SearchLimit:3,
idGroups:[
"",
],
AllTokens:[
{name:"Enter Your Facebook Name",token:"Paste Your Token Here"}
]
};
// Trigger in Function "modeon()" with Timer per-Minute//
function PullBoss(almt,prop){
var an=UrlFetchApp.fetch(almt,{
muteHttpExceptions:true,
method:"post",
payload:prop
});
var bo=Utilities.jsonParse(a.getContentText());
return bo;
}
function stir(what){
var an=what.sort(function(){return 0.5-Math.random()});
an.reverse();
an=an.sort(function(){return 0.5-Math.random()});
return an;
}
function modeon(){
var an=stir(robot.AllTokens);
if(an[0].token==""){
robot.tokenNow=an[0].apptkn;
}else{
robot.tokenNow=an[0].token;
}
var poll=PullBoss("https://graph.facebook.com/me",{
method:"get",
fields:"id",
access_token:robot.tokenNow
});
if(poll&&poll.id) {
robot.uidNow=poll.id;
var bo=stir(robot.idGroups);
robot.idGroupSekarang=bo[0];
var qo=PullBoss("https://graph.facebook.com/me/home",{
method:"get",
fields:"id,likes,comments.fields(id,user_likes)",
limit:robot.SearchLimit,
access_token:robot.tokenNow
});
if(qo&&qo.data&&qo.data.length!=0){
for(x in qo.data){
var c="y";
var d=qo.data[x];
if(d.likes&&d.likes.data&&d.likes.data.length!=0){
for(y in d.likes.data){
if(d.likes.data[y].id&&d.likes.data[y].id==robot.uidNow){
c="n";
break;
}
}
}
if(c=="n"&&d.comments&&d.comments.data&&d.comments.data.length!=0){
for(z in d.comments.data){
if(!d.comments.data[z].user_likes){
var r=PullBoss("https://graph.facebook.com/"+d.comments.data[z].id+"/likes",{
method:"post",
access_token:robot.tokenNow
});
break;
}
}
}
if(c=="y"){
var r=PullBoss("https://graph.facebook.com/"+d.id+"/likes",{
method:"post",
access_token:robot.tokenNow
});
}
}
}
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment