Email Permission is granted but email does not return #932
Comments
Hi @leoapsilva, it looks like it is actually related to the platform itself rather than this SDK. If you still get the same response from Graph Explorer https://developers.facebook.com/tools/explorer/145634995501895/ then the issue isn't related to the SDK. |
Hi @gmertk, thanks for your reply. But I did not understand what the context of 'the platform itself'. |
Hi @gmertk, as you suggest, I found the token of some users the email permission is granted but the email does not return and put on Graph Explorer. Maybe it is an issue on SDK... |
Hi @leoapsilva if you click the "Show" button next to "3 Debug Messages", you can see the warning about missing email. As I mentioned, this isn't about the PHP SDK. Facebook Platform doesn't return the email by design when the email isn't reachable or when the user doesn't have a confirmed email. |
Thanks for the report! And special thanks to @gmertk for help solving this issue! So I'm closing this as it looks like not and SDK issue, but a user who changes his/her email adress to an invalid one. |
I think this can most commonly occur when someone join using just a phone number too. That's probably more frequent than it used to be so your app needs to test for that scenario. |
The user granted the 'email' permission, but the email does not been returned.
I've check all declined permissions then I call
$helper->getReRequestUrl
.So, all permissions I asked are granted or the user cannot login.
I've noted for some those users these permissions are not returned, only firends can have information about the user, and the profile on facebook is displayed like that (Look the "To see what he shares with friends, send him a friend request."):
It was plausible the profile omitted for non-friends could not return some info.
AFAIK, this behaviour is not documented...
Searching for more users with the same problem, I found two users which the Facebook profile is 'wide opened' (see next picture).
For these users, the permission 'friends' returned info.
But email was not returned.
It happens with 4 from 30 users in one day.
It is very severe...
I found more users with the same problem on issues #922 and #882.
Maybe they could not explain exactly what was their issues and could be the same of mine.
The text was updated successfully, but these errors were encountered: