Answer the question
In order to leave comments, you need to log in
Why VK API doesn't accept captcha?
♦ Problem:
Contact does not accept CAPTCHA
♦ Problem:
I am writing a PHP script to edit groups. Some methods (note: groups.edit) after a couple of calls start to give a Captcha Needed error. The picture is guessed through anti-gate and sent also via PHP with the necessary parameters, but a new Captcha arrives in response and the request does not pass (although other methods accept everything perfectly with exactly the same scheme). I tried both through CURL with different headers and settings and through file_get_contents, the result is always the same - the captcha is solved correctly, the request is correct, but the VK API gives a new picture.
The trick is that when sending similar requests through JS, everything goes without problems and the captcha is accepted (it is also solved through anti-gate).
♦ Question:
How to solve this problem and implement the same in PHP?
I would be very grateful for help in solving the problem, I am even ready to pay
Answer the question
In order to leave comments, you need to log in
Все решено. Проблема была в моей невнимательности. В одном моменте получалось так, что капча попадала в кавычки и отправлялась на сервер в этих кавычках, соответственно поэтому и не принималась.
Спасибо всем за помощь в решении проблемы)
Проверьте запрос перед отправкой. Проверьте правильность капчи от анигейта. vk api без разницы какой скрипт шлет ему запросы.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question