Advertisement:

Author Topic: Can we get the phone number from the facebook profile?  (Read 1319 times)

itcafeonline

  • Full Member
  • ***
  • Posts: 245
Can we get the phone number from the facebook profile?
« on: April 29, 2015, 10:04:50 pm »
I think currently the plugin is able to get the email and Name from the facebook profile. Can we get Ph number as well? Pointers please

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Can we get the phone number from the facebook profile?
« Reply #1 on: May 18, 2015, 11:25:36 pm »
Quote
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.
I guess not :)

Here's where I got it from:
http://stackoverflow.com/questions/12799772/how-to-fetch-users-mobile-number-from-facebook?lq=1

If you're interested in more API details:
https://developers.facebook.com/docs/php/howto/profilewithgraphapi/4.0.0

And here's what we can reteeive through graph api:
https://developers.facebook.com/docs/php/GraphObject/4.0.0#user-instance-methods


Regards,
Eric
« Last Edit: May 18, 2015, 11:29:26 pm by SmaRTeY »