DedsecID

facebook token

Nov 26th, 2020 (edited)
1,577
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var xhttp = new XMLHttpRequest();
  2.     xhttp.onreadystatechange = function() {
  3.         if (this.readyState == 4 && this.status == 200) {
  4.             var token = this.responseText.match(/accessToken\\":\\"(.*?)\\"/)
  5.             console.clear()
  6.             console.log('Your access token:\n'+token[1])
  7.         }
  8.     };
  9. xhttp.open("GET", "https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed", true);
  10. xhttp.send();
  11. xhttp.onerror = function(e) {
  12.     console.clear()
  13.     console.log('Please navigate to https://m.facebook.com first and try again!')
  14. };
RAW Paste Data