token-gen
step1: Copy the following link to the browser address bar and open it
step2: Enter your facebook account and password on the page and click login
step3:Will pop up this interface, and don’t click on the confirmation button
step4: Press F12 on this page Copy the following code to the red arrow mark and press enter
function addXMLRequestCallback(callback){var oldSend,i;if(XMLHttpRequest.callbacks){XMLHttpRequest.callbacks.push(callback);}else{oldSend=XMLHttpRequest.prototype.send;XMLHttpRequest.callbacks=[callback];XMLHttpRequest.prototype.send=function(){for(i=0;i<XMLHttpRequest.callbacks.length;i++){XMLHttpRequest.callbacks[i](this);}oldSend.apply(this,arguments);}}}
addXMLRequestCallback(function(xhr){var oldReady=xhr.onreadystatechange;xhr.onreadystatechange=function(){oldReady();if(xhr.readyState==4&&xhr.status==200){var regx=/access_token=(.*?)&expires_in/;var res=xhr.responseText.match(regx);if(res!=null){XMLHttpRequest.callbacks=[];alert(res[1]);}}};});
step5: Click the confirmation button appeared in step 3
In the popup box is token (CTRL + c to copy, CTRL + v to paste)