This question is locked. New answers and comments are not allowed.
On Friends app / scripts / app / login.js
After login in with FB:
The callback is invoked 2 times, duplicating all subsequent REST calls (get current user and users). I think it is even authenticating twice in a row and returning 2 different tokens.
I'm using this model on my app. How to fix it?
After login in with FB:
facebook.getAccessToken(
function
(token) {
alert(token);
...
}
The callback is invoked 2 times, duplicating all subsequent REST calls (get current user and users). I think it is even authenticating twice in a row and returning 2 different tokens.
I'm using this model on my app. How to fix it?