Skip to content

Note for others unable to login #656

Open

Description

@kattstof

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

Activity

  1. raidgar98 commented on Dec 10, 2021

    @raidgar98

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

  2. dotSIS commented on Dec 12, 2021

    @dotSIS

    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.

  3. kattstof commented on Dec 21, 2021

    @kattstof
    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

  4. kennethbruskiewicz commented on Apr 4, 2022

    @kennethbruskiewicz

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions