Home i want to get user phone number after Facebook login in web
Reply: 2

i want to get user phone number after Facebook login in web

Sudipta Mondal
1#
Sudipta Mondal Published in 2015-05-06 07:12:10Z

Could you please help me to know me, is this possible to get user's phone number while fb login in my website?

i have a SDK to get others data, like name, email, gender.. etc etc

if

$user->email = $me->getProperty('email'); // got email

$user->gender = $me->getProperty('gender'); // got gender

then

$user->phone = $me->getProperty('phone'); //got phone number ???

please help to get phone number

Tobi
2#
Tobi Reply to 2015-05-06 07:45:27Z

There is no phone field in the Graph API. You should have a look at the docs, then this would have been clear from the start.

See

  • https://developers.facebook.com/docs/graph-api/reference/user#Reading
Chris Forrence
3#
Chris Forrence Reply to 2017-09-14 15:41:31Z

No, Facebook does not allow someone using the Graph API to fetch a user's phone number. There is no process to get a user's phone number from Facebook.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.467512 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO