fbchat-dev / fbchat-dev/fbchat
Can't login in v2.0.0a3 but can in previous versions
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 403
- PR merge metrics
- No merged PRs in 30d
Description
## Description of the problem
Attempting to login using fbchat v2.0.0a3 throws an error, see Traceback below. I can login as expected using 2.0.0a2 and 1.9.6..
Someone else has had the same problem, and could also solve by using v2.0.0a2, see https://github.com/carpedm20/fbchat/issues/581
Seems related to the solution to https://github.com/carpedm20/fbchat/issues/413, in particular commit https://github.com/carpedm20/fbchat/commit/079d4093c4f0febf004c6cf8f6972f157833a4f7
## Code to reproduce
```py
import fbchat
session = fbchat.Session.login("", "")
```
## Traceback
```
Traceback (most recent call last):
File "hello.py", line 4, in
session = fbchat.Session.login("", "")
File "/Users/matt/programming/python/patrick2/venv/lib/python3.7/site-packages/fbchat/_session.py", line 290, in login
raise _exception.NotLoggedIn(error)
fbchat.NotLoggedIn: Password Forgot account?
```
## Environment information
- Python version 3.7.7
- `fbchat` version 2.0.0a3 (installed with `pip install fbchat==2.0.0a3`)
Contributor guide
Assessment
This issue has not been assessed yet.