Traceback (most recent call last):
File "facebook.py", line 32, in
me = Messenger(login, password)
File "/home//.local/lib/python3.8/site-packages/messenger_api/Messenger.py", line 30, in init
self._parse_threadlist(self.msgapi.mercury_payload)
File "/home//.local/lib/python3.8/site-packages/messenger_api/Messenger.py", line 47, in _parse_threadlist
for t in threadlist['ordered_threadlists'][0]['thread_ids']:
KeyError: 'ordered_threadlists'
It is unmaintained like 3 years :/
I saw better alternatives like fbchat-asyncio and similar.
You should give it a try :)
Maybe I'll get some free time in the future, but now I don't have it.
README.md example returns following trace:
Traceback (most recent call last): File "facebook.py", line 32, in
me = Messenger(login, password)
File "/home//.local/lib/python3.8/site-packages/messenger_api/Messenger.py", line 30, in init
self._parse_threadlist(self.msgapi.mercury_payload)
File "/home//.local/lib/python3.8/site-packages/messenger_api/Messenger.py", line 47, in _parse_threadlist
for t in threadlist['ordered_threadlists'][0]['thread_ids']:
KeyError: 'ordered_threadlists'
Overall, it seems that this API is now outdated.