Hi I have integrated Facebook (GraphAPI_Web_1_8.swc) with my application and I 
am facing issue with logout functionality.

The application has some Facebook interaction (retrieves users information and 
uploads some). It will be used by multiple users one by one without refreshing/ 
reloading it. So once the current user is finished his/ her use with 
application, he/ she needs to be logged out of Facebook so that next user can 
be presented with the Facebook login page.

To log the user out of Facebook, I have used following code.

Facebook.logout(onLogout);

But it seems that, user is not being logged out of Facebook since for the next 
user as well Facebook is opening the previous user's session and not presenting 
the login screen.

I traced the requests and responses and found that in case of logout, no 
request is getting fired from the browser.

I read on some forums that sharedObject and/ or browser cookies need to be 
cleared in order to end the current Facebook session but I don't know how to do 
it.

Anyone could please guide me on how to log the user out of Facebook?

Thanks in advance

regards,
MulC

Reply via email to