Skip to content

Как получить номер телефона и email пользователя? #120

@Fresh4MaN

Description

@Fresh4MaN

При генерации ссылки я указываю scope VK\OAuth\Scopes\VKOAuthUserScope::EMAIL, но ни email ни телефон ни одним из методов:

$response = $vk->account()->getInfo($token, []);
$response2 = $vk->account()->getProfileInfo($token, []);
$user = $vk->users()->get($token);

не возвращаются

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions