This question is locked. New answers and comments are not allowed.
I used the code from the sample Facebook app to allow users to connect to their Everlive account through facebook. After the user type in his/her username/password, the screen is stuck at the "success" white browser page. i.e. the Childbrowser did not close.
I have tried tracing the problem and it seems like the function below is not returning the access_token. It is always equal to -1. When the sample app first launch, this function worked fine (it got the access token from facebook). Now it doesn't. Any reason why this is the case?
ref.addEventListener('loadstop', function(event) {
that.locationChanged(event.url, callback);
});
I have tried tracing the problem and it seems like the function below is not returning the access_token. It is always equal to -1. When the sample app first launch, this function worked fine (it got the access token from facebook). Now it doesn't. Any reason why this is the case?
ref.addEventListener('loadstop', function(event) {
that.locationChanged(event.url, callback);
});