fbchat icon indicating copy to clipboard operation
fbchat copied to clipboard

Found too many ServerJSDefine

Open domcom3 opened this issue 4 years ago • 2 comments

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 avatar Jul 09 '21 08:07 domcom3

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 :)

domcom3 avatar Jul 09 '21 09:07 domcom3

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

N0NameN0 avatar Jul 09 '21 15:07 N0NameN0