ahmdrz/goinsta

Completing verification process via API?

shahzilabid opened this issue ยท 16 comments

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

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

Hi guys, any update with this?

xi4 commented

+1

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

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

Do you have any progress on it?

Any updates on this? The current implementation is not working

instagram_challenge.txt

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

Thanks but take care of your credentials secrets and tokens.

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

Fixed nil pointer panic in verification example.
#302
Could you please review @ahmdrz ?

This is still not working, any advice?

@dmateus Did you try this pull request?

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