dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
5.99k stars 1.14k forks source link

Cant login with updated instagram private api #753

Closed mishell-trickster closed 5 years ago

mishell-trickster commented 5 years ago

Now I cant login, every time I get an error IgCheckpointError: POST /api/v1/accounts/login/ - 400 Bad Request; challenge_required But what I really need to do? With every tries Instagram send me message with question does it really I am? I confirm that, but already have error in terminal. How I can resolve this? How I must use session? Old version of API worked perfect, but now am stuck

lomegg commented 5 years ago

You need to init the challenge, then solve it according to its type. Look for client.challenge.state() and further depending on challenge type

ricky155030 commented 5 years ago

You can check this example https://github.com/dilame/instagram-private-api/blob/master/examples/checkpoint.example.ts

dbloembe commented 4 years ago

@ricky155030 @lomegg @Nerixyz Could you explain why and under what circumstances this challenge occurs? I experience this whenever I attempt to sign in using this package but never when signing in manually via browser.

Additionally, is there a way to configure the IgAPIClient such that the challenge doesn't occur?

TheNewAggregator commented 2 years ago

Hello everybody,

I'm having a lot of checkpoint problems lately.

If someone has a solution to this, please email me:

My gmail is danielpaixaodp2021@gmail.com

Did you ( @dbloembe, @ricky155030 , @lomegg , @mishell-trickster ) have this kind of problem and fix it?