karlicoss / fbmessengerexport

Export/access you Messenger/Facebook chat messages
MIT License
66 stars 2 forks source link

Skip unknown thread type: MARKETPLACE #2

Closed mileyvirus closed 4 years ago

mileyvirus commented 4 years ago

Hey @karlicoss, I just cloned the repo and after logging in I started the export.py script and boom: fbchat._exception.FBchatException: Unknown thread type: MARKETPLACE.

It was my first thread and I think it's for conversations happening with Facebook Marketplace users. Apparently it's a bug with fbchat.

I think we should skip this thread type for now at least until fbchat resolves the open issue.

karlicoss commented 4 years ago

Hey, appreciate for linking straight to the upstream issue!

I pushed branch hack-marketplace as a workaround, can you let me know if it works for you? I'm kind of fixing it blidnfolded, as I don't have any marketplace threads, but I think it should work! You should see warnings instead of the script crashing.

If it works for you, I'll merge in master: https://github.com/karlicoss/fbmessengerexport/pull/3

jcguu95 commented 4 years ago

Started trying yesterday, I encountered the same problem. The hack-marketplace branch worked for me. Thank you so much!

karlicoss commented 4 years ago

Sweet. Merged in master, thanks for confirming :)

mileyvirus commented 4 years ago

Hey there! I forgot to reply and since I got notified by your comments I saw, I'm so sorry… as @jcguu95 confirmed it definitely worked. Thank you 🙏