You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I'm thinking to create a thread when I call this /auth/login and return for frontend my PID thread and the msg for handle and the user type a code and in another endpoint this verification code is sending
e.g "POST /verify-email/PID_THREAD/VERIFICATION_CODE_HERE"
and this another endpoint catch de PID_THREAD and put the VERIFICATION_CODE in thread stdin directly
While using instagrapi-rest, is useless to use the default behavior for instagrapi, to ask the SMS / E-mail code on input (STDIN).
https://github.com/adw0rd/instagrapi/blob/092b19713f920e13641c45899be5f3afab827cf4/instagrapi/mixins/private.py#L33
Since we run on an server, which is probably runing on a background task, there's no interaction with it.
A simple fork would be just setting a new challenge_code_handler
Stiveknx@90a2b23#diff-edcfd80d7c5e51c05a01f8fc4079088fe44e05a58382b801009203aca3c8ff3dR27
But, it should be possible to "resume" the previous one challenge.
The "resume", would just send a post to challenge url with the code.
It could be an endpoint, like this one:
Stiveknx@90a2b23#diff-edcfd80d7c5e51c05a01f8fc4079088fe44e05a58382b801009203aca3c8ff3dR65
But, I didn't find out, how to resume an Checkpoint, or specifically, how to "save" previous checkpoint data and resume it after.
Any clues?
The text was updated successfully, but these errors were encountered: