Instructions on how to login 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.

Instructions on how to login Facebook with Token Picture 1

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 ();}) (); 

Instructions on how to login Facebook with Token Picture 2

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.

Instructions on how to login Facebook with Token Picture 3

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.

Instructions on how to login Facebook with Token Picture 4

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)})} ();

Instructions on how to login Facebook with Token Picture 5

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) .

Instructions on how to login Facebook with Token Picture 6

Step 4: When the bookmarks bar appears, click on the bookmark icon you just created.

Instructions on how to login Facebook with Token Picture 7

Step 5: The system will ask you to enter Token to login. You proceed to enter Token and click OK is finished.

Instructions on how to login Facebook with Token Picture 8

In this article, Software Tips showed you how to log into Facebook with Token quickly and without Checkpoint. Have a nice day!

4 ★ | 2 Vote

May be interested