Closed hmdz105 closed 3 years ago
You can now either pass in a _2fa_function
argument to the constructor of ApiClient
, or just type the code in to the terminal.
The _2fa_function
should be a callable that receives the username as input and returns the 2fa code as output.
Excellent job! Thanks for the quick fix!
Let me know if there's anything else missing from instauto :)
Hamed schreef op 2021-02-18 09:51:
Excellent job! Thanks for the quick fix!
-- You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].
Links:
[1] https://github.com/stanvanrooy/instauto/issues/143#issuecomment-781185866 [2] https://github.com/notifications/unsubscribe-auth/AL2ES6KHNLC7SRUBFCJM3L3S7TIJZANCNFSM4XVDQZEQ
I can't still find a way to upload videos. Sending videos to posts, stories and also in carousel format would be very handy.
Describe the bug When 2FA is turned on in an instagram account, the app faces an error when trying to log in:
To Reproduce Steps to reproduce the behavior: Run the following code
Assuming the app has no previous saved session, the new login fails with this error:
Expected behavior The console should ask for the 2FA code. After manual entry, the log in should succeed and the bot continue working.
Additional context I used another library called "instabot" and it asked for 2FA then logged in. Unfortunately the library is outdated and no longer maintained, and many of its endpoints no longer work.