Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note for others unable to login #656

Open
kattstof opened this issue Dec 10, 2021 · 4 comments
Open

Note for others unable to login #656

kattstof opened this issue Dec 10, 2021 · 4 comments

Comments

@kattstof
Copy link

Make sure you're using python 3.8 and below (fbchat will not work with 3.9)
then change _state line that says " revision = int(r.text.split('"client_revision":', 1)[1].split(",", 1)[0])" to revision = 1

@raidgar98
Copy link

works for me
I've printed r.text, and I can't find 'client_revision' in HTML result, so this is a problem

@dotSIS
Copy link

dotSIS commented Dec 12, 2021

works for me too, but once the account is logged out the login issue happens.
I have python 3.8.2 and revision = 1 and currently cant login.

@kattstof
Copy link
Author

For reference i'm using python 3.7 and it's working flawlessly for me. sadly i'm not sure what in 3.9 caused fbchat compatibility to break, i'll see if i can figure WHAT caused it to break and then put in a pull request

@kennethbruskiewicz
Copy link

kennethbruskiewicz commented Apr 4, 2022

Running the client in debug mode in Python 3.9.7, and using this revision workaround, seems to work for logging in successfully for me. Note I am using a downgraded user-agent as recommended here: #657 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants