Coder Social home page Coder Social logo

Comments (8)

lyseiha avatar lyseiha commented on June 26, 2024

Screen Shot 2021-06-25 at 5 15 16 PM

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on June 26, 2024

@lyseiha with no reproduction example, there is no ability to offer help https://stackoverflow.com/help/minimal-reproducible-example

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on June 26, 2024

Still missing reproduction, no activity. Can always reopen, but closing to clean issue list.

from react-native-fbsdk-next.

kauesedrez avatar kauesedrez commented on June 26, 2024

I get email using Graph. I hope this help.


 async _facebookSignIn() {
    try {
      const result = await LoginManager.logInWithPermissions(
        ["public_profile", "email"],
        "limited",
        "my_nonce"
      );

      const result2 = await AccessToken.getCurrentAccessToken();

      return new GraphRequestManager()
        .addRequest(
          new GraphRequest(
            "/me?fields=name,email",
            null,
            (error, result3) => {
              if (error) {
                console.log(error)
              } else {
                console.log(result3)
              }
            }
          )
        )
        .start()

      //
    } catch (error) {
      console.log(error);
    }
  }

from react-native-fbsdk-next.

mduthilleul avatar mduthilleul commented on June 26, 2024

Same problem here. I use await LoginManager.logInWithPermissions(["public_profile", "email"]) but email is still empty on Firebase. And the code to fetch the email doesn't either. I get an id and the name, but not the email. Looks like the email permission is not taken in account. Maybe we are missing a configuration on the FB console ?

from react-native-fbsdk-next.

Bob-JZhao avatar Bob-JZhao commented on June 26, 2024

Hi @mikehardy, I also noticed that email is missing on android, checked the code here(

if (Platform.OS !== 'android') {
) do you have any idea why don't return email if platform is android? Thanks in advance!

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on June 26, 2024

@Bob-JZhao no idea, sorry, and no time to dig in. You'll have to instrument the code in node_modules directly as layers are traversed by API calls, investigating call parameters / return result data and see what's what

from react-native-fbsdk-next.

PR-Here avatar PR-Here commented on June 26, 2024

@lyseiha have you get any solution regarding email?

from react-native-fbsdk-next.

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.