G
G
Ganjubas_Original2017-06-20 10:59:05
1C-Bitrix
Ganjubas_Original, 2017-06-20 10:59:05

Bitrix component, socserv.auth.split, how to get user avatars when connecting to a social network?

I use the component specified in the question to provide the ability to link a social network to an account.
At the moment we are talking only about VK. In the incoming array, I receive data about the user. This array has a key ["PERSONAL_PHOTO"] which contains just one (1). Is this a bug, a glitch or the norm? How can I get the user's avatar?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2017-06-21
@Logic87

The component automatically pulls a photo into the Bitrix profile if the photo is specified in the visitor's social network profile.

S
Sergey, 2017-11-08
@sergafon

If you need authorization / registration through social networks, then you need the socserv.auth.form component. Further, in the admin panel in the settings, specify the services through which the registration or authorization should go (one component for all). There, the photo is normally taken and the data that is available, but for some reason not all the city does not take it. Need to figure it out.
Another little trick in order for the component to work on the registration page, it must be called from system.auth.form.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question