I'm developing an application based on Facebook 4.0 login. The user can log in in Login.activity and then the main.Activity is shown.
After user successfully logged in, AccessToken.getCurrentAccessToken() is not null and I'm able to perform a Graph Request.
ParseFacebookUtils.logInWithReadPermissionsInBackground(...)
Then
AccessToken token = AccessToken.getCurrentAccessToken();
if(token != null)
GraphRequest request = GraphRequest.newMeRequest(token, ...)
But then after my Intent, AccessToken.getCurrentAccessToken() is always null.
Do you have any idea why AccessToken cannot be used across acitivies ?
Thanks,