fbchat icon indicating copy to clipboard operation
fbchat copied to clipboard

Note for others unable to login

Open kattstof opened this issue 2 years ago • 4 comments

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

kattstof avatar Dec 10 '21 02:12 kattstof

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

raidgar98 avatar Dec 10 '21 09:12 raidgar98

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.

dotSIS avatar Dec 12 '21 00:12 dotSIS

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

kattstof avatar Dec 21 '21 09:12 kattstof

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: https://github.com/fbchat-dev/fbchat/issues/657#issuecomment-1035900145

kennethbruskiewicz avatar Apr 04 '22 15:04 kennethbruskiewicz