A
A
Asya A2019-07-01 07:08:46
PHP
Asya A, 2019-07-01 07:08:46

How to get the name and photo of the account using authorization through social networks?

There is a page where the user and can leave reviews.
In order for them not to have to register, I want to register authorization through social networks so that when writing a review, the name and photo of his account would automatically be registered in the sub-review as the data of the author of the review.
OpenID vs OAuth
(Instagram, Vkontakte, Facebook)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kafkiansky, 2019-07-01
@mad_maximus

Have you implemented authorization at all or not? If yes, then in the scopes you can specify what data you need. Typically this is public_profile. After that, google, vk, github, fb will give the user's profile photo.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question