Skip to content

VKontakte applyAccessTokenToRequest problem #257

@aleksanderd

Description

@aleksanderd

What steps will reproduce the problem?

Call any of VK-API method with parameter user_ids, for example: https://vk.com/dev/users.get

What's expected?

Usual VK-API result for given ids.

What do you get instead?

The user_ids parameter reassigned to null at VKontakte::applyAccessTokenToRequest method:

$data['user_ids'] = $accessToken->getParam('user_id');

Since user_ids is null, VK returns an error.

Additional info

Q A
Yii version 2.0.15.1 March 21, 2018
Yii Auth Client version 2.1.7 September 20, 2018
Yii HTTP Client version 2.0.7 September 24, 2018
PHP version PHP 7.0.33-0+deb9u1
Operating system Debian 9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions