Facebook Login with another account from iOS app
facebook, facebook-graph-api, facebook-login, ios
Solution
You're still logged in through Safari. Log out there (or clear your cache).
Problem
I'm developing an iOS app that integrates with Facebook SDK. When I make the login for the first time with my facebook account it takes the following steps: - Jump to safari web login - Insert my credentials - After that I authorize the permissions that are requested - And then I go to the main menu of my application. When I press the logout button, I run the following code: ``` - (void)logout { [FBSession.activeSession closeAndClearTokenInformation]; } ``` With this code I can invalidate the session and clear the access token information. However, when i try to login again, my application jumps to safari web login and my account appears already as logged in (next picture). If I want to login with another Facebook account, i can't do it. In other words, I would like to follow the steps that I said earlier or have a mechanism like "Not you?" that Facebook official app provides. Any idea that what I have to do?