I have the same issue, the callback function passed to FB.login triggers immediately and does not wait for the user to interact with the facebook popup and wait for the result either success / cancel. It just cancels immediately, i cannot find a solution for this. Please help