Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.

email = null #215

Open
ilandbt opened this issue Aug 17, 2014 · 8 comments
Open

email = null #215

ilandbt opened this issue Aug 17, 2014 · 8 comments

Comments

@ilandbt
Copy link

ilandbt commented Aug 17, 2014

Hi,
I am trying to get the user email with the access token.
but i am not getting it. (i added the permission).

also in the simple facebook sample app i get email = null.

Thanks,
Ilan

@koraybalci
Copy link
Contributor

Some users make their email private or even do not enter (you don't need an email address to create a fb account, a phone number can also be sufficient).

@princeobi007
Copy link

I have the same issue. I have implemented Facebook login using the raw SDK and with this library. Using the raw SDK, I can get email irrespective of my email visibility while with this library, I can't seem to get it at all. Am sure this is a bug . Consider revising the permission section, am confident the bug lies in that area because while using the raw SDK, on the authentication page, I can see that the permission to get email is included while the opposite is the case with your library. BTW love the library and with a few fixes it will come in very handy. Keep up the good work

@eduardonatan
Copy link

Have you solved this? please, i m facing the same issue

@goonerDroid
Copy link

Need a solution fast this is a very serious bug!!

@Anearion
Copy link

I'm in this situation too, permission added, but i can't get email, or hometown. Just basic informations about the Profile object.

Anyone has a fix/tip for this ?

@sromku
Copy link
Owner

sromku commented Aug 23, 2015

@Anearion facebook changed their graph api again. Now, you will have to specify what fields you need even if you have permissions. Means, use this method: https://github.com/sromku/android-simple-facebook/wiki/Get-profile#be-specific-and-get-what-you-need
I will update the docs a little bit later.

@Anearion
Copy link

@sromku That worked, thank you very much man.

@walaagomaa18
Copy link

it does not wok any help?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants