Search code examples
pythondjangofacebookfacebook-graph-apidjango-socialauth

How to fetch user's mobile number from facebook?


I am using django-social_auth to make users register and login via facebook. I want to access the phone number of the user.

Tried searching on google and stackoverflow , but didn't find any answer. Searched the facebook docs as well. There I found that there used to be permission for 'user_mobile_phone' but it has been removed.

It was also written than now it will be provided with basic permissions but it wasn't available(what I found). I tried using Graph API, but was unsuccessful.

So, Someone please tell me the way ,if there is any, to get user data.

EDIT:17 June 2014 -

Is this possible now to get User's Mobile number via the Graph API ?


Solution

  • The API does not let you access the user's contact number. You will have to request the user's contact details manually using a form.