Take the 2-minute tour ×

when someone visit my app, its asking permision. after user click login buton and authorizess app it still required manually refresh.

ı searched and found same problem with me:

basicly my problem is:



ı tried this solution but its not working.

FB.Event.subscribe('auth.login', function(response) {
share|improve this question
Log a bug at developers.facebook.com/bugs –  bkaid Feb 8 '12 at 6:24

1 Answer 1

up vote 1 down vote accepted
FB.Event.subscribe('auth.login', function(response) {

You cannot blindly reload the window. Look at the response first (for debugging either put a console.dir(response); or a debugger; so you can see the structure of the response object .... or just read the documentation to see the structure) and determine what it is telling you, only reload the page when necessary.

share|improve this answer

Your Answer


