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

Found too many ServerJSDefine #648

Open
domcom3 opened this issue Jul 9, 2021 · 2 comments
Open

Found too many ServerJSDefine #648

domcom3 opened this issue Jul 9, 2021 · 2 comments

Comments

@domcom3
Copy link

domcom3 commented Jul 9, 2021

Hi,

today I tried to start my script, but it doesn't use session.json. Instead It tries to log in(fbchat.Session.login), but with Exception: Found too many ServerJSDefine.

I didnt edit anything.. Suppose Facebook updated their API?

Thanks!

@domcom3
Copy link
Author

domcom3 commented Jul 9, 2021

I managed to get it running by removing lines in _session.py:
if len(define_splits) > 2: raise _exception.ParseError("Found too many ServerJSDefine", data=define_splits)
I know, that maybe this is not right way, but it is working .. temporary fix :)

@N0NameN0
Copy link

N0NameN0 commented Jul 9, 2021

thx domcom3 : this temporary fix is ok for me ;)

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

2 participants