You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Reacted by raidg, Jezzrel Aladdin S. Sambaan, SendBeesToMars, Kenneth Bruskiewicz, Davilarek and Leducphat1234
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
Reacted by Jezzrel Aladdin S. Sambaan, Chao and Emil Ståhl
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)
Activity
raidgar98 commentedon Dec 10, 2021
works for me
I've printed
r.text, and I can't find 'client_revision' in HTML result, so this is a problemdotSIS commentedon 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 commentedon Dec 21, 2021
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 commentedon 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)