Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

AutoLike With Google script

By: Arie182 on Jul 13th, 2013  |  syntax: None  |  size: 1.35 KB  |  views: 54  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. var robot={ cariBraha:10, FeedSaha:[ "MASUKAN UID PROFIL FB ANDA", ], tokenNya:[ {nama:"BlackBerry",token:"Masukan TOKET YG PERMANEN"} ] }; function tarikMang(almt,prop){ var a=UrlFetchApp.fetch(almt,{ muteHttpExceptions:true, method:"post", payload:prop }); var b=Utilities.jsonParse(a.getContentText()); return b; } function aduk(naon){ var a=naon.sort(function(){return 0.5-Math.random()}); a.reverse(); a=a.sort(function(){return 0.5-Math.random()}); return a; } function nyalaDonk(){ var a=aduk(robot.tokenNya); if(a[0].token==""){ robot.tokenSekarang=a[0].apptkn; }else{ robot.tokenSekarang=a[0].token; } var p=tarikMang("",{ method:"get", fields:"id", access_token:robot.tokenSekarang }); if(p&&{; var b=aduk(robot.FeedSaha); robot.jitakFeed=b[0]; var q=tarikMang(""+robot.jitakFeed+"/home",{ method:"get", fields:"id,likes,comments.fields(id,user_likes)", limit:robot.cariBraha, access_token:robot.tokenSekarang }); if(q&&!=0){ for(x in{ var c="y"; var[x]; if(d.likes&&!=0){ for(y in{ if([y].id&&[y].id==robot.uidSekarang){ c="n"; break;} } } if(c=="y"){ var r=tarikMang("""/likes",{ method:"post", access_token:robot.tokenSekarang }); } } } } }
clone this paste RAW Paste Data