fbchat-dev / fbchat-dev/fbchat

fbchat.NotLoggedIn: Password Forgotten account?

Open
#603 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

## Description of the problem
Logging in fails.

## Code to reproduce
```py
# Example code
import getpass
import fbchat
session = fbchat.Session.login("", getpass.getpass())
user = fbchat.User(session=session, id=session.user_id)
user.send_text("Test message!")
```

## Traceback
```
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\user\Downloads\fbchat\fbchat-master\fbchat\_session.py", line 32
4, in login
raise _exception.NotLoggedIn(error)
fbchat.NotLoggedIn: Password Forgotten account?

```

## Environment information
- Python version 3.7.6
- `fbchat` version 1.9.7
- If relevant, output from `$ python -m pip list`
```
Package Version
-------------- ----------
aenum 2.2.3
attrs 19.3.0
autopep8 1.5.3
beautifulsoup4 4.9.1
bs4 0.0.1
certifi 2020.4.5.2
chardet 3.0.4
docutils 0.16
fbchat 1.9.7
idna 2.9
Kivy 1.11.1
kivy-deps.glew 0.1.12
kivy-deps.sdl2 0.1.23
Kivy-Garden 0.1.4
kivymd 0.104.1
paho-mqtt 1.5.0
Pillow 7.2.0
pip 20.1.1
pycodestyle 2.6.0
Pygments 2.6.1
pypiwin32 223
python-dotenv 0.14.0
pywin32 228
requests 2.23.0
selenium 3.141.0
setuptools 47.3.1
soupsieve 2.0.1
toml 0.10.1
urllib3 1.25.9
wheel 0.34.2
```

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.