android-simple-facebook icon indicating copy to clipboard operation
android-simple-facebook copied to clipboard

email = null

Open ilandbt opened this issue 10 years ago • 8 comments

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

ilandbt avatar Aug 17 '14 09:08 ilandbt

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).

koraybalci avatar Oct 31 '14 10:10 koraybalci

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

princeobi007 avatar Nov 17 '14 08:11 princeobi007

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

eduardonatan avatar Feb 09 '15 17:02 eduardonatan

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

goonerDroid avatar Jun 09 '15 11:06 goonerDroid

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 ?

Anearion avatar Aug 23 '15 19:08 Anearion

@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.

sromku avatar Aug 23 '15 19:08 sromku

@sromku That worked, thank you very much man.

Anearion avatar Aug 23 '15 19:08 Anearion

it does not wok any help?

walaagomaa18 avatar Apr 21 '16 13:04 walaagomaa18