Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Object Returned Contains No public_profile User Data #280

Closed
quadsurf opened this issue Sep 9, 2016 · 1 comment
Closed

Object Returned Contains No public_profile User Data #280

quadsurf opened this issue Sep 9, 2016 · 1 comment

Comments

@quadsurf
Copy link

quadsurf commented Sep 9, 2016

The only response I get back is a list of grantedPermissions but no values like an email address or age range, etc. Furthermore, there are no next steps for what to do next in order to obtain those values. There may be an assumption that next steps are obvious, but they're not. I am very respectfully frustrated with Facebook. I had hoped that Facebook Login would seamlessly work with Facebook React Native. Please help!

Also, there doesn't seem to be an API reference listing out all the methods/options for the LoginButton Component.

@chrisp-fb
Copy link
Contributor

Once you've completed a login and have an access token, you need to use the Graph API https://github.com/facebook/react-native-fbsdk#graph-api to retrieve data. Sorry about the confusion, we'll see how we can better update our docs. One thing to keep in mind is that the react-native-fbsdk wraps around our native SDKs so the docs at developers.facebook.com have more information. For example, you can learn more about the Graph API at https://developers.facebook.com/docs/graph-api

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

No branches or pull requests

2 participants