ChatPlug / libfb-js

Messenger's MQTT implementation
GNU General Public License v2.0
60 stars 12 forks source link

Add reactions support #63

Open alam-shahul opened 5 years ago

alam-shahul commented 5 years ago

Is it possible to add reactions as a field for the Message object? Not sure what this would entail, but seems like an important feature of any Facebook Messenger message!

ptrcnull commented 5 years ago

libfb would have to store every message object to update it with reactions, so it's probably not really a good solution :/ But reactions support itself is a good feature

alam-shahul commented 5 years ago

Well, I would love to get involved/implement reactions, but I have no idea where to start! From what I can gather, you guys sort of reverse-engineered some protocol that Facebook uses for sending messages; do I need to understand this protocol/what exactly you guys did in order to help out? Or is there a more abstract layer at which I can start hacking?

Unfortunately, there seems to be little documentation on how the code actually works, so I'm not sure where I should try working. Do you have any suggestions?

ptrcnull commented 5 years ago

You could join our Discord server here: https://discord.gg/xdWemhA
I'll explain some things to you there.