Frequently Asked Questions
My app has the email permissions approved. Despite that, some calls to fetch the email returns null or a phone number in the response. Is something wrong?
The documentation for the 'email' field of the 'user' object (developers.facebook.com/docs/reference/api/user/) clarifies the expected behavior here, which is: "this field will not be returned if no valid email address is available".
There are a number of circumstances in which you may think a user should have an email address returned but they will not. For privacy and security reasons it is not possible to elaborate on the precise reason any specific user's email address will not be returned.
Some possible reasons:
No Email address on account
No confirmed email address on account
No verified email address on account
User entered a security checkpoint which required them to reconfirm their email address and they have not yet done so
Users's email address is unreachable
You also need the 'email' extended permission, even for users who have a valid, confirmed, reachable email address on file.
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
