You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2018-04-11 13:21:10 — SocialVk Plugin initalized
2018-04-11 13:21:10 — THREAD WARNING: ['SocialVk'] took '11.474121' ms. Plugin should use a background thread.
2018-04-11 13:21:18 — VK Token 94fa49bb7bea6ef79444956a8b0509411f075f8a8efe23451799b22bd4bc9dd1fa22d388e08bc01c603d5
2018-04-11 13:21:18 — VK Access authorization finished
2018-04-11 13:21:18 — FB handle url: vk6378811://authorize?#access_token=94fa49bb7bea6ef79444956a8b0509411f075f8a8efe23451799b22bd4bc9dd1fa22d388e08bc01c603d5&expires_in=0&user_id=95451778&[email protected]
2018-04-11 13:21:19 — User response <VKResponse: 0x1594d2fd0; API response: (
{
bdate = "4.8.1987";
city = {
id = 1925340;
title = "R\U012bga";
};
country = {
id = 12;
title = Latvia;
};
"first_name" = Artur;
id = 95451778;
"last_name" = Mudrik;
nickname = "";
photo = "https://pp.userapi.com/c629226/v629226778/2afef/5v9eP8nVomo.jpg";
"photo_big" = "https://pp.userapi.com/c629226/v629226778/2afeb/32cRBL9y9Ts.jpg";
sex = 2;
timezone = 3;
}
)>
2018-04-11 13:21:19 — {"token":"94fa49bb7bea6ef79444956a8b0509411f075f8a8efe23451799b22bd4bc9dd1fa22d388e08bc01c603d5","user":{"bdate":"4.8.1987","city":{"id":1925340,"title":"Rīga"},"country":{"id":12,"title":"Latvia"},"id":95451778,"nickname":"","last_name":"Mudrik","timezone":3,"photo_big":"https://pp.userapi.com/c629226/v629226778/2afeb/32cRBL9y9Ts.jpg","photo":"https://pp.userapi.com/c629226/v629226778/2afef/5v9eP8nVomo.jpg","sex":2,"first_name":"Artur"}}
Тобишь, самый последний лог это console.log(response) после успешного .login() и вывел респонс — как видно, в данных нету email.
Email есть выше, в строчке FB handle url: vk6378811://authorize?..., но как к этому ответу добраться и вытащить email? Ибо это не какой-то console.log с данными, это системный лог.
Добрый день,
SocialVk.login(
['email', 'friends', 'photos'],
function(res) {
SocialVK.login на Андроиде возвращает email, а на ios нет. В чем может быть проблема?
The text was updated successfully, but these errors were encountered: