Answer the question
In order to leave comments, you need to log in
Challenge required in Private Instagram API?
Good day everyone!
I am making a service - an assistant for my company, which monitors comments on Instagram. There are accounts that are directly involved in monitoring. The problem is that if the account comes from a new ip, then Instagram requires confirmation.
The implementation of such a confirmation is here: https://github.com/mgp25/Instagram-API/issues/2143
But the problem is that it is outdated and does not work.
Most likely the problem is in this place (it is likely that some new data needs to be sent with the post-request):
$customResponse = $ig->request($checkApiPath)
->setNeedsAuth(false)
->addPost('choice', $verification_method)
->addPost('_uuid', $ig->uuid)
->addPost('guid', $ig->uuid)
->addPost('device_id', $ig->device_id)
->addPost('_uid', $ig->account_id)
->addPost('_csrftoken', $ig->client->getToken())
->getDecodedResponse();
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