I would like to know what are the prerequirements for facebook API to allow a PHP web page to pull the following user data:
As far as I understand, pulling the phone number requires that your website is whitelisted with facebook / Websense ?
Please advice.
Thank you!
As Facebook uses OAuth, you have to build a so-called login flow. See the docs at
Within this flow, you have to request permissions from the user . For your use case, you'll need
public_profile
email
There's no chance to get the phone number out of the Graph API.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.