I have integrated the facebook in to my application, From the FB i will be getting the userid and the name of the user and passing it to my own service that will do the validation and allows the respective user to get in to the system. I have got the userid and username from the FB and passed it my service that will do the validation,it allows the user to enter in to app, but my problem is once i logged in , how can i log out from the FB ?
Please let me know your ideas.
Thanks
That depends on which library you use to connect to facebook.
But I guess that you have a
FBSessionclass that has alogoutmethod…That
logoutmethod also callsdeleteFacebookCookiesthat you could also directly call depending on your needs…Hope that helps.