fbchat-dev/fbchat

Cannot login with 2FA when subject to Facebook checkup flow

Open

#359 创建于 2018年11月16日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (406 fork)github user discovery
bughelp wanted

仓库指标

Star
 (1,210 star)
PR 合并指标
 (PR 指标待抓取)

描述

Description of the problem

Logging in fails when 2FA is enabled and Facebook requires a Facebook checkup flow.

Code to reproduce

from fbchat import Client
client = Client('<username>', '<password>')

Traceback

Logging in <email>...
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

贡献者指南