Facebook SDK for Javascript, FB.login() callback not firing (async call never gets a response?) -
Facebook SDK for Javascript, FB.login() callback not firing (async call never gets a response?) - the below code facebook api javascript far. it's pretty simple, bunch of console.log() s follow code flow. (i recognize naming arguments response , response2 terrible practice it's set avoid naming conflicts). as stands, fb.init() succeeds, fb.getloginstatus() works, , 2 fb.api() calls work, fb.login() never happens. async though console.log() s before , after execute. summarize, console output is: makes here makes here too permissions: object {data: array[37]} see you, my-name-is-here. i guess it's because async fb.login() phone call never gets response callback never fires, no console.log() s within function. need fb.login() in order extended permission ads_management . thought wrong, or @ to the lowest degree direction go solving myself? window.fbasyncinit = function() { fb.init({ appid: 'my-app-id-is-here', xfbml: tr