Calling logInWithReadPermissionsInBackground always return null user and invalid date error
com.parse.ParseRequest$ParseRequestException: Invalid date
I'm using ParseFacebookUtils [V4-1.9.1]
here is my code
private void onLoginUserClicked ()
{
final List<String> permissions = new ArrayList<String>();
permissions.add("public_profile");
permissions.add("user_status");
permissions.add("user_friends");
ParseFacebookUtils.logInWithReadPermissionsInBackground(LoginActivity.this, permissions, new LogInCallback() {
@Override
public void done(ParseUser user, ParseException err) {
if (user == null) {
Log.d("MyApp", "Error: "+err);
} else
{
if (user.isNew()) {
Log.d("MyApp", "User signed up and logged in through Facebook!");
} else {
Log.d("MyApp", "User logged in through Facebook!");
}
}
}
});
}
nothing up-normal i cannot overcome this point any help?
Aucun commentaire:
Enregistrer un commentaire