Can't get user details such as birthday and email from Facebook Native


#1

Facebook.login([“email”]).then( data => {
this.string = data;
Facebook.api(’/me’, [“email”,“user_birthday”]).then( resp => {
console.log(resp);
});
});

JSON data does not contain email and user_birthday


#2

@veerajshenoy, I am facing the same problem, did you solve this?


#3

You need to submit your app for Login Review if you want access to fields of a user’s extended profile.


#4

Email is one of the default permissions. I have been using it in an android application and it is working fine.


#5

I ended up doing the request like this: Facebook.api(response.authResponse.userID+"/?fields=id,email,first_name,last_name", [])