SHARE
TWEET

Facebook Access Token

a guest Sep 20th, 2019 143 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="utf-8" />
  5.     <meta name="google" content="notranslate">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
  7.  
  8.         <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" />
  9.         <link href="https://unpkg.com/nes.css@2.1.0/css/nes.min.css" rel="stylesheet" />
  10.  <style>
  11.  @import url(http://fonts.googleapis.com/css?family=Share+Tech+Mono);
  12.  body {
  13.     width: 100%;
  14.     background-color: #f0f0f0;
  15.     font-family: Share Tech Mono;
  16.  }
  17.  pre {
  18.     font-family: Share Tech Mono;
  19.     color: #363636;
  20.  }
  21.  a {
  22.     font-family: Share Tech Mono;
  23.     color: #157DA1;
  24.  }
  25.  a:hover{
  26.     font-family: Share Tech Mono;
  27.     text-decoration: none;
  28.     color: #157DA1;
  29.  }
  30.  </style>
  31.         <title>Facebook Access Token</title>
  32.         </head>
  33.     <body>
  34.     <script>
  35.             function masukan_data() {
  36.             alert('Masukan email dan password pada parameter url.')
  37.             }
  38.             function show_alert() {
  39.             alert('Ingin mengecheck access token anda?')
  40.             }
  41.             </script>
  42.     <br>
  43.     <?php
  44. ini_set('display_errors', 1);
  45. ini_set('display_startup_errors', 1);
  46. ini_set('track_errors', 1);
  47. ?>
  48.     <div class="container-fluid">  
  49. <?php
  50.  $email = $_GET['email'];
  51.  $password = $_GET['password'];
  52.  $url = "https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email=".$email."&locale=en_US&password=".$password."&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6";
  53.   $ch = curl_init();
  54.   curl_setopt($ch, CURLOPT_URL, $url);
  55.   curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  56.   $exec = curl_exec($ch);
  57.  
  58.     $json = json_decode($exec, 1);
  59.        echo "<center> help : <span class='badge badge-pill badge-primary' onclick='masukan_data();'><u>here</u></span>";
  60.          echo " your ip : <span class='badge badge-pill badge-primary'><u>".$_SERVER['REMOTE_ADDR']."</u></span></center>";
  61.             echo "<br>Parameter <font color=#157DA1>?email=&password=</font><div class='card'>";
  62.                 echo "<div class='container-fluid'>";
  63.             echo "<a href='#'>Tools </a> > Facebook Access Token";
  64.             echo "</div></div>";
  65.             echo "<div class='card'>
  66.         <div class='container-fluid'>";
  67.          echo "<pre>";
  68.             print_r($json);
  69.           echo "</pre>";
  70.             echo "
  71.                     </div>
  72.                         </div>";         
  73.   ?>
  74. </font>
  75.  </li>
  76.  </ul>
  77.  <div class="card" style="text-align: center;">
  78.  <?= date('Y')?> © Copyright by JeparaDev
  79.  </div>
  80.  <br>
  81.  <br>
  82.  </div>
  83.  </div>
  84.         <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  85.         <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  86.         <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  87.     </body>
  88. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top