Reputation: 522
I use LoginButton class from SDK 3 to manage facebook session. Now I wonder if there can be any reason for closing a session other than clicking "Log out" button by user?
In other words - can I be sure that unless user clicks "Log out" button, facebook session remains open "forever"?
Upvotes: 0
Views: 1358
Reputation: 2454
NO!
In fact you have to reopen a session after an application is killed.
If you have a token cache available you don't have to show to the user the login dialog, and the session can be opened with that token.
Besides there is also the possibility that the token is expired, so the user will have to re-authenticate.
Upvotes: 2