android - Unable to get valid Session Token after ParseFacebookUtils.logInWithReadPermissionsInBackground signed up a new user -


hi i'm trying implement new app using parse login facebook feature. followed guide use facebook login feature , went ok.

documentation states

sessions represent instance of user logged device. sessions automatically created when users log in or sign up.

the problem never valid session token when parsefacebookutils.loginwithreadpermissionsinbackground(...) returns (and signs up) user newly created on parse platform (thus user.isnew() true). inspecting data dashboard can see correctly new _user entry there's no entry _session class, whereas should find 1 createdwith="signup" _user.

as side effect when trying logout newly created user com.parse.parseexception: parse::usercannotbealteredwithoutsessionerror because, obviously, newly created user doesn't session token.

if instead perform same operation same user after creation (and therefore user logs in parse) valid session token , everything's ok (which means there's _session object createdwith="login" associated _user object).

is bug or not expected occur? or missing something? thanks!

currently using: facebook-android-sdk:4.0.1 + parsefacebookutilsv4-1.9.1.jar + parse 1.9.0 jar


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -