instagram-web-api icon indicating copy to clipboard operation
instagram-web-api copied to clipboard

How to handle login with 2fa account?

Open Alihassan001 opened this issue 4 years ago • 2 comments

when I hit the 2fa account login it can't login successfully.

response: { "status": 400, "message": { "message": "", "two_factor_required": true, "two_factor_info": { "pk": 49376547926, "username": "xyz", "sms_two_factor_on": true, "whatsapp_two_factor_on": false, "totp_two_factor_on": false, "eligible_for_multiple_totp": false, "obfuscated_phone_number": "8888", "two_factor_identifier": "snkTPGk577DYcgXE1TWvTHFDDK2DJF45a5NLp2GrumTfJTkcv4pQ0qIzJ5Wy9JsX", "show_messenger_code_option": false, "show_new_login_screen": true, "show_trusted_device_option": false, "should_opt_in_trusted_device_option": true, "pending_trusted_notification": false, "sms_not_allowed_reason": null, "trusted_notification_polling_nonce": null, "is_trusted_device": false, "phone_verification_settings": { "max_sms_count": 2, "resend_sms_delay_sec": 60, "robocall_count_down_time_sec": 30, "robocall_after_max_sms": true } }, "phone_verification_settings": { "max_sms_count": 2, "resend_sms_delay_sec": 60, "robocall_count_down_time_sec": 30, "robocall_after_max_sms": true }, "status": "fail", "error_type": "two_factor_required" } }

Alihassan001 avatar Oct 25 '21 23:10 Alihassan001

up!

rein96 avatar Dec 30 '21 16:12 rein96

You don't. This package isn't maintained and will probably get your account banned.

MonsieurBibo avatar Dec 30 '21 16:12 MonsieurBibo