Answer the question
In order to leave comments, you need to log in
How to get rid of Application authorization failed: method is unavailable with service token. with users.search?
Good day.
I am trying to execute the code
require_once 'vendor/autoload.php';
$vk = getjump\Vk\Core::getInstance()->apiVersion('5.5')->setToken(VK_SERVICE_KEY);
$data = $vk->request('users.search', ['count' => 200]);
$data->each(function($key, $value){
Debug($value);
});
Fatal error: Uncaught exception 'getjump\Vk\Exception\Error' with message 'Application authorization failed: method is unavailable with service token.' in
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question