Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't receive email address #1

Open
xyzzyxyzzy0077 opened this issue Oct 30, 2017 · 2 comments
Open

Can't receive email address #1

xyzzyxyzzy0077 opened this issue Oct 30, 2017 · 2 comments

Comments

@xyzzyxyzzy0077
Copy link

xyzzyxyzzy0077 commented Oct 30, 2017

Is it a bug from Facebook?

I'm pretty sure my email address is public

@lakshmantgld
Copy link
Owner

lakshmantgld commented Oct 30, 2017

Its been long time working with RN. Will try to find out what is causing the error.

@xyzzyxyzzy0077
Copy link
Author

Ha, I found the solution minutes after :P

Basically, the tricks are:

  1. adding readPermissions={["email", "user_friends", "public_profile"]} in <LoginButton>
  2. removing the default publishPermissions={["publish_actions"]}

As per #Get user's email from Graph API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants