Closed scoopyw closed 2 years ago
Yo man,
Ik ben tyfusjoch van instagram, heb je ook daarop berichtje gestuurd.
Kreeg door deze lines errors en als ik die weghaal werkt het top.
Toen had ik gezien dat ze niet required waren dus dacht ik ff proberen.
Ben geen niet bekend met JS eigenlijk alleen php maar dit is wat werkte voor mij!
Verstuurd vanaf mijn iPhone
Op 17 jun. 2022 om 04:26 heeft Freek Bes @.***> het volgende geschreven:
uhm... why did you comment out the pre- and post login flow simulations?
— Reply to this email directly, view it on GitHubhttps://github.com/FreekBes/insta_reddit_bot/pull/30#issuecomment-1158416206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANNXBB4KKC7AGQPYBO4UTT3VPPO5XANCNFSM5Y57YGUA. You are receiving this because you authored the thread.Message ID: @.***>
I see the issue you're describing, however there's likely a better fix out there. I myself won't be looking into it, as I haven't used this code in a long time.
However, if you want to look into fixing this, the issue is likely with dilame's instagram-private-api, of which this repository is using an older version. Updating it to a newer version might fix this issue (but cause a whole lot of others). If you find a solution, feel free to create a pull request, or fork this repository and continue developing in your fork.
Speaking of, if someone reading this wishes to take over this repository, feel free to. Fork it and maintain it, I will link to your fork in the README.
As for your fix in this pull request. Before applying it:
IgResponseError: POST /api/v1/accounts/contact_point_prefill/ - 429 Too Many Requests; Please wait a few minutes before you try again.
at Request.handleResponseError (E:\coding\insta_reddit_bot\node_modules\instagram-private-api\dist\core\request.js:125:16)
at Request.send (E:\coding\insta_reddit_bot\node_modules\instagram-private-api\dist\core\request.js:53:28)
at async AccountRepository.contactPointPrefill (E:\coding\insta_reddit_bot\node_modules\instagram-private-api\dist\repositories\account.repository.js:262:26)
After applying it:
IgCheckpointError: POST /api/v1/qe/sync/ - 400 Bad Request; challenge_required
at Request.handleResponseError (E:\coding\insta_reddit_bot\node_modules\instagram-private-api\dist\core\request.js:107:24)
at Request.send (E:\coding\insta_reddit_bot\node_modules\instagram-private-api\dist\core\request.js:53:28)
at async QeRepository.sync (E:\coding\insta_reddit_bot\node_modules\instagram-private-api\dist\repositories\qe.repository.js:28:26) at async AccountRepository.login (E:\coding\insta_reddit_bot\node_modules\instagram-private-api\dist\repositories\account.repository.js:13:13)
However, this 400 error might be caused by me trying to use an inactive account.
uhm... why did you comment out the pre- and post login flow simulations?