Skip to content Skip to sidebar Skip to footer

Facebook Api's Method: Issessionvalid() Always Returns True

I am using the official facebook SDK for Android and I am facing some issues regarding session management. Specifically, I don't know how to test whether the session is still valid

Solution 1:

Im not sure how you integrated facebook in your app but are you checking the access token from the shared preferences? If you are I would check to see that you are actually setting the new access token. For example, after the log out you would want to write out that new access token (null) so next time it would prompt the user to log in again.


Post a Comment for "Facebook Api's Method: Issessionvalid() Always Returns True"