Love the whole idea of Parse.com especially the way it integrates with the best apps in the world. Currently developing a native android app where user can login using Facebook. Successfully integrated the Facebook & Parse SDK. One of the cool thing is that Parse handles all the storing & session functionality for you.
But found a small issue and some one might stumble here because there is not much said in Parse documentation about logout.
After you logout using ParseUser.logout, when the come back to login in the app still remembers the previous user and tries to login automatically. But that is not what we want when we want to logout. So to fix that you need to first clear the session before you ask ParseUser to logout
//First clear the current session ParseFacebookUtils.getSession().closeAndClearTokenInformation(); //Now call logout ParseUser.logOut(); That fixed the issue.