diff --git a/src/VK/CallbackApi/VKCallbackApiLongPollExecutor.php b/src/VK/CallbackApi/VKCallbackApiLongPollExecutor.php index 87a3622..bad2979 100644 --- a/src/VK/CallbackApi/VKCallbackApiLongPollExecutor.php +++ b/src/VK/CallbackApi/VKCallbackApiLongPollExecutor.php @@ -157,8 +157,10 @@ public function getEvents(string $host, string $key, int $ts) { static::PARAM_ACT => static::VALUE_ACT ); + $query_string = http_build_query($params); + try { - $response = $this->http_client->get($host, $params); + $response = $this->http_client->get($host . '?' . $query_string); } catch (GuzzleException $exception) { throw new VKClientException($exception); }