Describe the bug
When I log into an account with 2FA enabled, I am not prompted for the 2FA code. The login appears successful, but all subsequent requests to Instagram fails.
To Reproduce
Steps to reproduce the behavior:
- Enable 2FA on your account
instagram-cli auth login
- Do something e.g.
instagram-cli chat
- Observe the bad request errors
Expected behavior
The app should detect that 2FA is required and prompt for the 2FA code accordingly.
Screenshots
If applicable, add screenshots to help explain your problem.
System Information:
- OS: Ubuntu 22.04
- Terminal: Windows Terminal
- Client: TypeScript
- Instagram CLI Version: (for TypeScript client, paste in the entire output of
instagram-cli version)
instagram-cli: v1.4.6
Using:
instagram-private-api: v1.46.1 (patched)
Instagram app version: 416.0.0.47.66
Logs (optional)
Paste in the logs from .instagram-cli/logs here. You may want to redact sensitive data like your username for privacy.
Additional context
instagram-private-api does not throw a 2fa_required error when attempting to log in as before. This may be a change in meta's api.
Describe the bug
When I log into an account with 2FA enabled, I am not prompted for the 2FA code. The login appears successful, but all subsequent requests to Instagram fails.
To Reproduce
Steps to reproduce the behavior:
instagram-cli auth logininstagram-cli chatExpected behavior
The app should detect that 2FA is required and prompt for the 2FA code accordingly.
Screenshots
If applicable, add screenshots to help explain your problem.
System Information:
instagram-cli version)Logs (optional)
Paste in the logs from
.instagram-cli/logshere. You may want to redact sensitive data like your username for privacy.Additional context
instagram-private-apidoes not throw a 2fa_required error when attempting to log in as before. This may be a change in meta's api.