I'm creating an android application in which i am using facebook login.I'm using graph api for this purpose.I want to display the profile picture,name and location of the logged-in user.I have a method for getting the profile information.I want to display the details each time i open my app without calling the login method each time.ie.i want to display the details automatically as long as there is an active access token.How to do this ?
My method for login is working fine.How to display the details automatically as long as there is an active access token ?
Use the Session object to create a new Session using your Facebook access token, and token expiry date