Instructions on how to login Facebook with Token
Signing in with Token has many advantages that are fast and not subject to Facebook checkpoint. But not everyone knows how to log in Token properly and securely, Software Tips will guide you how to login to Facebook with Token.
When we manage many different Facebook accounts or when we buy bulk Facebook accounts, they will not send the account with a password, instead they will send us the Token code of that account. . Signing in with Token has many advantages that are fast and not subject to Facebook checkpoint. But not everyone knows how to log in to Tokens correctly and securely, in this article, the Software Tips will show you how to log into Facebook with Token.
1. Use Code to login Facebook with Token
Step 1: Go to the Facebook homepage and press F12 to open the open source panel. Then, you select the Console tab and proceed to paste the code below.
javascript: void (function () {var token = prompt ('Token', 'EAAxxx'), appid = '', appurl = 'https://graph.facebook.com/app?access_token=' + token, cookieurl = 'https://api.facebook.com/method/auth.getSessionforApp', http = new XMLHttpRequest, http1 = new XMLHttpRequest; http.open ('GET', appurl, true); http.onreadystatechange = function () {if (4 == http.readyState && 200 == http.status) {var a = http.responseText; console.log (a); var obj = JSON.parse (a); appid = obj.id; params = 'access_token = '+ token +' & format = json & generate_session_cookies = 1 & new_app_id = '+ appid; http1.open (' GET ', cookieurl +'? '+ params, true); http1.send ();} else if (4 == http. readyState && http.status == 400) {alert ('Token is invalid!');}}; http1.onreadystatechange = function () {if (4 == http1.readyState && 200 == http1.status) {var a = http1.responseText; var obj = JSON.parse (a); var d = new Date (); d.setTime (d.getTime () + (7 * 24 * 60 * 60 * 1000)); for (var i = 0; i + obj.session_cookies.length; i ++) {document.cookie = obj.session_cookies [i] .name + '=' + obj.session_cookies [i] .value + '; domain = .facebook.com; expires = '+ d.toUTCString (); } document.location.href = 'https: //facebook.com/'; }}; http.send ();}) ();domain = .facebook.com; expires = '+ d.toUTCString (); } document.location.href = 'https: //facebook.com/'; }}; http.send ();}) ();domain = .facebook.com; expires = '+ d.toUTCString (); } document.location.href = 'https: //facebook.com/'; }}; http.send ();}) ();
Step 2: Then, you press Enter to run the code. A window will appear asking you to enter your Token to login. You proceed to enter the Token and click OK to login to Facebook.
2. Use bookmarks to login to Facebook with Token
Step 1: You proceed to the Facebook homepage and select the star icon to create bookmarks. Then, you select Add to customize our bookmarks according to javascript code.
Step 2: At the bookmark editing section, you can name the bookmark whatever. Separate the URL you Copy the code below and paste in.
javascript:! function () {var t = prompt ("Enter Access Token"); function o (e, t) {var o = new XMLHttpRequest; o.open ("GET", e,! 0), o.setRequestHeader ("Content-Type", "text / plain; charset = UTF-8"), o.onreadystatechange = function () {this.readyState == XMLHttpRequest.DONE && t (this.response)}, o.send ()} function n (e) {var t = (e = JSON.parse (e)). session_cookies; if (null! = e.error_msg) return alert (e.error_msg) ,! 1; t.forEach (function (t, e , o) {var n = ""; Object.keys (t) .forEach (function (e) {"xs" == e && (t [e] = encodeURIComponent (t [e])), n + = e + "= "+ t [e] +"; "}), n = n.replace (" name = "," "). replace ("; value = "," = "). replace (" httponly = true; ", ""), document.cookie = n}), location.href = "https://fb.com"} o ("https: //graph.facebook.com / app? access_token = "+ t, function (e) {if (null! = (e = JSON.parse (e)). error) return alert (e.error.message) ,! 1; o (" https : //api.facebook.com/method/auth.getSessionforApp? access_token = "+ t +" & format = json & generate_session_cookies = 1 & new_app_id = "+ e.id, n)})} ();
After entering the Code finished, click Save to complete.
Step 3: If your browser does not display bookmarks, enable them by selecting: Options -> Bookmarks -> Display bookmarks bar (Ctrl + Shift + B) .
Step 4: When the bookmarks bar appears, click on the bookmark icon you just created.
Step 5: The system will ask you to enter Token to login. You proceed to enter Token and click OK is finished.
In this article, Software Tips showed you how to log into Facebook with Token quickly and without Checkpoint. Have a nice day!
- How to customize login with Facebook avatar
- Instructions to change the Facebook login interface
- Ways to login to Facebook
- 5 How to fix the latest update of Facebook login error 2021
- How to know your Facebook has been hacked
- How to Get Oni Token in Blox Fruits and Use It
- What is a token?
- How to login to Facebook multiple accounts at the same time
- What is the token on Lotus, how to use it, how to use it, and how to earn it?
- How to detect sneaky people on your Facebook
- 8 Facebook login errors and how to fix them
- How to login to Zalo via your Facebook account on PC, no password required
- How to sign in to Facebook with a phone number
- How to login to Facebook computer with QR code