-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get user email address #120
Comments
The same for me, any idea what we are missing? |
I found the issue, we should extract the information like this:
|
|
Thanks, looks more arranged than my code, Cool. |
Is there any way to get ALL of the fields without defining them in the fields property? |
No, you should ask for the exact permission, and if you want more than public profile then Facebook will review your request: https://developers.facebook.com/docs/facebook-login/permissions#checking |
Never mind! I've just changed to:
|
I tried /me?fields=name,email,age_range,gender,locale. |
I'm not sure yet, because I still working on development env. But I think that even setting these fields, you must set them at your FB dev dashboard. So that way the FB will allow you get those fields. |
@melody1798 Facebook will check email validity of every user, if they found the email is not in use, user email will not be return from graph api call. |
This return email
|
I am getting email when i am login with that email id of app created account but if i am login with other email account then user email will not be return from graph api call. |
@nitin-healthians i am getting the same error, did you solve it? |
getFBLoginStatus : function() {
|
I added following function to get email address, but its not returning the email address.
its returning only,
accessToken: ""
expiresIn: 5874
signedRequest: ""
userID: ""
Function
The text was updated successfully, but these errors were encountered: