Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VKontakte applyAccessTokenToRequest problem #257

Open
aleksanderd opened this issue Dec 17, 2018 · 0 comments
Open

VKontakte applyAccessTokenToRequest problem #257

aleksanderd opened this issue Dec 17, 2018 · 0 comments
Labels

Comments

@aleksanderd
Copy link

aleksanderd commented Dec 17, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants