How to solve the "Challenge required" mgp25/instagram-api?

0 like 0 dislike
2.5k views 0 2
Hi all.

Implement autorizacao in Instagram with PrivateAPI and extensions from mgp25 - https://github.com/mgp25/Instagram-API.

When you authorize a new IP - insta meets the "Challenge required", which means the need to enter a verification code by SMS or email.

The most complete analysis of problems I found in this issue - https://github.com/mgp25/Instagram-API/issues/2143.

Following this answer (https://github.com/mgp25/Instagram-API/issues/2143... implemented the functionality and now, in the case of response with a request to enter the code - programmatically emulates another request on the phone comes SMS, I insert it (and incorrect entry code causes the error - ie at this point, all true) and I get the message about the successful authentication in the response comes pk of the user and other data.

The problem is that when you re-call the method again I get prompted to enter. Ie library does not save the login succeeded or if something still comes up wrong.

Please help in resolving the issue - a lot of time spent on the search for a solution.

Thanks in advance.
asked by | 2.5k views

2 Answers

0 like 0 dislike
0
Look how it is done in other implementations of the API.
answered by
0 like 0 dislike
0
Hi, did you find the solution to this problem?
answered by (140 points)
reshown by

Related questions

0 like 0 dislike
0 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
24,510 questions
45,935 answers
0 comments
453 users