Parse Android - getCurrentUser() objectId is null after twitter login -
i'm using parsetwitterutils.login(..) logging in user through twitter. when callback function called parseuser.getcurrentuser().getobjectid() null. if user logged in twitter shouldn't current user object id assuming have user saved on server same username , twitter authdata ? parsetwitterutils.login(this, new logincallback() { @override public void done(parseuser parseuser, parseexception ex) { parseuser user = parseuser.getcurrentuser(); string objectid = user.getobjectid(); //objectid null string loggedinobjectid = parseuser.getobjectid(); //loggedinobjectid null } }); also, ex null. meaning query executed successfully. i found problem. if specify consumer key in parse settings under settings -> user authentication settings, , use different twitter app, parse won't throw errors return parseuser empty content. make sure leave consumer key field blank or use proper key.