I am developing an android app which has Facebook integration in it.
I have correctly created a Facebook App & added my debug key-store’s hash code in App settings.
I can log-in into Facebook successfully and get basic information about the logged in user correctly. I am using the official Facebook SDK for android.
I have asked user for permission of email address only. This was working as of yesterday. I was getting email address correctly. But from today it’s giving me proxied email address instead of real email address.
In the permission dialog where it asks for allowing, it’s showing me correct (real) email address, but when I query a graph API call (‘me’), it gives me proxied email address.
Has anybody encountered this issue?
Here is a screenshot of the permission dialog.
I have tried with different key hashes, creating a new Facebook app, creating a new Facebook account. The same behavior is also happening on iPhone version of our app.
EDIT-> After looking into the Account Settings Page > Apps on Facebook, the permissions I have requested is ’email’ but on App Settings it’s only showing permission for proxy email address. How can I request permission for real email address? Has Facebook recently changed their Permission model?
EDIT 2 -> I tried the new Hackbook for Android example included in Facebook Android SDK.
It didn’t had ’email’ permission added, so I just modified that in the example and even that example is getting proxy email address now!! 🙁
So it’s certainly not my code’s problem.
I had the same issue. After extensive debugging, what I found was that in the Facebook App setings, disabling “Enhanced Auth Dialog” did the trick. That can be found in your App settings under Advanced.
Your milage may vary.