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
It is possible that Instagram flags the request as suspicious, in those cases, one of the following will happen:
you need to verify the login on another device;
or you need to enter a verification code, this requires input through the terminal.
1.2 2FA
Instauto supports two-factor authentication. To verify your account, you can either:
enter the verification code in the the terminal;
or use a function provided to the constructor named _2fa_function :
defget_2fa_code(username: str) ->str:
# do something to get the codereturncodeclient=ApiClient(username='your_username', password='your_password', _2fa_function=get_2fa_code)