A
A
Alexey2017-02-14 15:14:05
PHP
Alexey, 2017-02-14 15:14:05

How to pull email from vk.com via loginza?

Good afternoon.
I choose an authorization script for the site through social networks. networks.
I liked uLogin, but decided to look at Loginza.
And here I was disappointed...
In uLogin, I was able to get the user's Email without any problems, but Loginza does not want to pull out the Email in any way.
Is there such a possibility in loginza?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yakov Vylegzhanin, 2017-02-14
@vylegzhanin

https://loginza.ru/api-overview#authinfo_responce
If the authorization was successful, the response will contain information about the user in JSON format:

{"identity":"http:\/\/admin.loginza.ru\/","provider":"http:\/\/loginza.ru\/server\/",
"name":{"full_name":"\u0421\u0435\u0440\u0433\u0435\u0439 \u0421\u0435\u0440\u0433\u0435\u0439"},
"nickname":"admin","email":"[email protected]","gender":"M","dob":"1985-01-31"}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question