Issue
I would like to know what are the prerequirements for facebook API to allow a PHP web page to pull the following user data:
- name
- phone
As far as I understand, pulling the phone number requires that your website is whitelisted with facebook / Websense ?
Please advice.
Thank you!
Solution
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.
Answered By - Tobi
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.