ahmdrz / goinsta

Unofficial Instagram API written in Golang
MIT License
895 stars 247 forks source link

Completing verification process via API? #198

Closed shahzilabid closed 3 years ago

shahzilabid commented 5 years ago

From time to time..A challenge URL is returned (checkpoint_challenge_required) when attempting to login. When you hit the challenge URL.. a verification code is sent to the user's email or phone number.

Is there functionality around submitting that verification code sent to the email/phone number via the API? Can we resolve the challenge via API? It is possible in this API https://github.com/dilame/instagram-private-api/blob/master/client/v1/web/challenge.js

Wulfheart commented 5 years ago

+1

ahmdrz commented 5 years ago

In our TODO list, checkpoint_challenge_required problem has a high priority. I will try to implement it ASAP. Thank you @shahzilabid.

danijel-bjelancevic commented 5 years ago

Hi guys, any update with this?

xi4 commented 5 years ago

+1

ahmdrz commented 5 years ago

Added on #277, Thanks to @Nyarum. Please test it if you can.

kopaygorodsky commented 5 years ago

Have you tried export after login with verification? client.Account is nil, I get 'nil pointer exception' on Export.

kopaygorodsky commented 4 years ago

Do you have any progress on it?

dmateus commented 4 years ago

Any updates on this? The current implementation is not working

alidhkh commented 4 years ago

instagram_challenge.txt

These are the requests to verify a challenge, hope it helps.

ahmdrz commented 4 years ago

Thanks but take care of your credentials secrets and tokens.

obalunenko commented 4 years ago

problem is in example: after challenge completed - it is needed to assign to root goinsta.Instagram.Account goinsta.Challenge.LooggedInUser Account

obalunenko commented 4 years ago

Fixed nil pointer panic in verification example. https://github.com/ahmdrz/goinsta/pull/302 Could you please review @ahmdrz ?

dmateus commented 4 years ago

This is still not working, any advice?

ahmdrz commented 4 years ago

@dmateus Did you try this pull request?

ahmdrz commented 4 years ago

https://github.com/ahmdrz/goinsta/issues/309

felipeinf commented 3 years ago

You have to pass the challenge, I recommend you try this example https://github.com/ahmdrz/goinsta/blob/master/examples/verification/main.go