Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <br><br><br><br><br><br><br>
- <div class="container">
- <div class="panel panel-primary">
- <div class="panel-heading">Delete Friends</div>
- <div class="panel-body">
- <p>Delete Teman Facebook Anda ( Random )</p>
- <form method="POST" action="">
- <div class="form-group">
- <label>Access Token :</label>
- <input id="email" type="text" class="form-control" name="token" placeholder="Paste Your Token Here.">
- </div>
- <div class="form-group">
- <label>Jumlah :</label>
- <select name="jumlah" class="form-control">
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="5">5</option>
- <option value="10">10</option>
- <option value="15">15</option>
- <option value="20">20</option>
- <option value="50">50</option>
- <option value="100">100</option>
- <option value="1500">ALL</option>
- </select>
- </div>
- <button type="submit" id="submit" class="btn btn-primary btn-block" name="submit">Delete!</button>
- <button type="submit" formaction="/index.php" class="btn btn-danger form-control"><i class="fa fa-sign-out" aria-hidden="true"></i> Back To Bot Panel!</button>
- <br>
- </div>
- <?php
- if(isset($_POST[submit])){
- error_reporting(0);
- $token = $_POST[token];
- $limit = $_POST[jumlah];
- function hajar($yuerel, $dataAing=null) {
- $cuih = curl_init();
- curl_setopt($cuih, CURLOPT_URL, $yuerel);
- if($dataAing != null){
- curl_setopt($cuih, CURLOPT_POST, true);
- curl_setopt($cuih, CURLOPT_POSTFIELDS, $dataAing);
- }
- curl_setopt($cuih, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($cuih, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($cuih, CURLOPT_SSL_VERIFYPEER, false);
- $eks = curl_exec($cuih);
- curl_close($cuih);
- return $eks;
- }
- $menta = hajar("https://graph.facebook.com/me/friends?fields=id,name&limit=".$limit."&access_token=" . $token);
- $jason = json_decode($menta);
- foreach ($jason->data as $data) {
- hajar("https://graph.facebook.com/me/friends?uid=".$data->id."&method=delete&access_token=" . $token);
- echo "SUCCESS DELETE --> " . $data->id . " // From : " . $data->name . "<br>";
- }
- }
- ?>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment