Facebook JS SDK FB.logout() doesn't terminate user session

Posted by Casey Flynn on Stack Overflow See other posts from Stack Overflow or by Casey Flynn
Published on 2012-01-11T10:15:59Z Indexed on 2012/10/21 11:01 UTC
Read the original article Hit count: 287

I'm attempting to log a user out of facebook with the Facebook JS SDK, however calling:

FB.logout(function(response){
    console.log(response);
});

returns: response.status == "connected"

And only after refreshing the page does the SDK realize that the session has ended. Anyone know what could be causing this behavior? This code previously worked in my application and has recently started behaving this way.

Another example using FireBug:

enter image description here

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about facebook