fbchat-dev / fbchat-dev/fbchat

Cannot login with 2FA when subject to Facebook checkup flow

Open
#359 2 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
1.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

## Description of the problem
Logging in fails when 2FA is enabled and Facebook requires a Facebook checkup flow.

## Code to reproduce
```py
from fbchat import Client
client = Client('', '')
```

## Traceback
```
Logging in ...
Please enter your 2FA code -->
Submitting 2FA code.
Saving browser.
Starting Facebook checkup flow.
Verifying login attempt.
Saving device again.
Attempt #1 failed, retrying
Please enter your 2FA code -->
```

## Environment information
- Python 3.7
- `fbchat` version 1.4.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.