A
A
Artur Shalohin2017-04-26 14:43:40
Facebook
Artur Shalohin, 2017-04-26 14:43:40

Laravel socialite how to get phone number?

Good afternoon!
Please tell me, can I use laravel socialite to get the user's phone number when he is authorized through Facebook?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2017-04-26
@Artur_Shalohin

Something like this, perhaps:

Socialite::driver('facebook')->fields(['phone'])->redirect();
https://github.com/laravel/socialite/blob/3.0/src/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question