I am using the official and updated Facebook iOS SDK .
We are developing an application on the iPad, which is used in a physical store using our own distribution profile. Where customers can log in to their Facebook account on the iPad, which is available to improve their shopping experience.
The problem I encountered is that when a user logs into their Facebook account, the next user (client) will still be logged in with the credentials of previous users ( You have already authorized xxx, Press "Okay" to continue ) . Of course, this is not normal.
Is there a way to actually log out (sign, clear credentials, or ever) of a previous (or current) user so that the next user can fill in their own username and password.
Unfortunately, [[FBSession activeSession] closeAndClearTokenInformation] doesnβt quite do the trick.
This is part of the code:
PS. Cookie workaround doesn't work for me (obviously)
basvk source share