I think i dug through the whole facebook sdk documentation but can't seem to find the way to get the users Phone number or Address. Is this feature removed, as of spoken in this thread where it's suggested it will be re-enabled in a few weeks (2011).
Phone Number Verification Code To get a phone number's ID, call to https://graph.facebook.com/ v14. 0 /{whatsapp-business-account-ID}/phone_numbers . Replace {whatsapp-business-account-ID} with the ID of the WhatsApp Business Account the phone number belongs to. See Get all phone numbers for an example.
The Facebook SDK collects the following information when you use Facebook Login: App Events: This covers generic app events (e.g. app install, app launch) and other standard logging for product metrics (e.g. SDK loading and SDK performance). Note that some of these events (e.g. app installs, app launches etc.)
You can get user data by using the Facebook Graph API if the user has given their permission to share their data and your app has the appropriate permissions to receive this data. This topic shows you how to make a single request for data and how to have a batch of requests in a single request.
The simplest way to get a copy of the User Profile object is to access the /me endpoint: FB. api('/me', function(response) { }); This will this will return the users name and an ID by default.
This information is not available via the Facebook APIs and will not be added anytime soon. If you want this information from the user you should prompt them for it after they have logged into your application using Facebook.
Here's a link to Facebook's APIs: https://developers.facebook.com/docs/reference/api/user/
You can use the graph API explorer to gain a clearer understanding of what information is and isn't available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With