Topic-icon Auto Registration unable to fetch Facebook User's email

Active Subscriptions:

None
10 years 2 months ago - 10 years 2 months ago #57506 by drmadbum
Hi Team,

I have just reinstall the component into our new site and during the configuration, I found the JFBConnect is unable to fetch user's facebook email.

I followed all instruction via the Facebook integration tutorial, I have granted the "Allow to access my Facebook email" during the profile linking; and finally seems it's unable to fetch my email and a JFBConnect User Registration Page comes up. User name was succesfully fetch and the email field is blank.

Please advise anything I should do to fix this. Thanks

p.s.: When I switch to use user Email address as the user ID, then the account username shows blank, thus I guess there are problem getting facebook's email info.


File Attachment:


File Attachment:
Last edit: 10 years 2 months ago by drmadbum.
The topic has been locked.
Active Subscriptions:

None
Sorry team,

I found the reason from Facebook as below, my email is un-reachable (very old email address and email account suspended), share here...

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.

The topic has been locked.
Support Specialist
Thanks for posting your findings. As noted, Facebook doesn't always return an email address. JFBConnect gracefully handles this by falling back to our mini-registration layout where we ask for any information that isn't provided. In the JFBConnect Configuration area, you can choose to hide fields that you don't want to display, like name, email and password. If those can be fetched or automatically generated, then those fields will be hidden, making the registration process even quicker.

If you run into anything else or have any questions, just let us know.

Thanks,
Alex
The topic has been locked.