GithubHelp home page GithubHelp logo

Comments (5)

mvenghaus avatar mvenghaus commented on June 9, 2024 1

do you have the additional permission in facebook to get the email address?

from hybridauth.

dani3l3 avatar dani3l3 commented on June 9, 2024 1

I figured it out: for some reason, fb stopped exposing the email field for my and my other colleague who's also an admin of the app. Regular users are using it just fine. Absurd. Sort of wasted 24 hrs but this prompted me to add a feature on my system so we now know/track how many users are logging in with a certain provider or another, some information we were previously blind about, so that's good. You library works perfectly fine. Thanks 🙏

from hybridauth.

dani3l3 avatar dani3l3 commented on June 9, 2024

Yes, I do, we are verified, I checked... this has been working for over a year and we did go thru a lot of their privacy reviews to be allowed to retrieve this bloody email.... and yet even on the API explorer it's not giving me back the email, so it seems the issue is on their end. I am opening also a suppot ticket to facebook to ask on their end.

As a side note, I do see here https://github.com/hybridauth/hybridauth/blob/master/src/Provider/Facebook.php#LL56C30-L56C62 that you are calling graph v8 ? They are on v16 and are about to deprecate version 10...

Still, on the api explorer with v16 it tells me my 'field is empty of disallowed by access token' so it must be something with their configuration/permission in the 'app'....

from hybridauth.

dani3l3 avatar dani3l3 commented on June 9, 2024

So I think it's not a hybridauth issue as much as a FB api issue, after some debugging last night and this morning... but I am not sure it's related to our account/app. I'll keep investigating and let you know if I figure it out :-)

from hybridauth.

dani3l3 avatar dani3l3 commented on June 9, 2024

Update: it appears that the symptom is only related to SOME user accounts. The better error I was able to get is "The email field was not returned. This may be because the email was missing, invalid or hasn't been confirmed.".
i.e. I am not able to login to the site I work on with my facebook account, but my wife is - I don't get the email returned but she does... so it's definitely something they have changed or broken on their with respect to some user accounts... sorry for the randomization, but it might still be useful to know, I guess :-)

You guys keep up the awesome work!

from hybridauth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.