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

Messenger (Meta Facebook) compatibility #211

Open
Quentin-M opened this issue Nov 5, 2024 · 1 comment
Open

Messenger (Meta Facebook) compatibility #211

Quentin-M opened this issue Nov 5, 2024 · 1 comment

Comments

@Quentin-M
Copy link

Quentin-M commented Nov 5, 2024

Howdy,

I was just briefly looking at purple-facebook's struggles adapting to Messenger's E2EE push; and discovered that @tulir implemented support on mautrix/meta through whatsmeow (added here), the very same library purple-gowhatsapp uses. It turns out, Messenger's E2EE is just WhatsApp, with a slightly different configuration/endpoint.

It got me wondering: could purple-gowhatsapp be libpurple's savior and bring back support for Messenger with a few tweaks?

Backward support for Messenger's MQTT-based protocol is not required, as 1/ the old library can still be used for the remaining conversations still on that older system 2/ it seems anyone can simply create a new conversation with their correspondants on Messenger, which then defaults to E2EE (e.g. I now have two running conversations with my wife on Messenger, one with each system).

Apologies in advance if I am way off, I am not involved in the purple ecosystem whatsoever besides my seldom conversations with Pidgin's rw_grim.

@hoehermann
Copy link
Owner

Hi Quentin-M

After I noticed Meta was pushing encryption on Facebook Messenger, I figured the support on purple was done for. It was completely off my radar. Thank you for bringing it to my attention. 🙂

Indeed, the work of tulir and the people around him looks very promising. Unfortunately, using their solution in purple is not trivial. In particular, take a look at the comment here:

you must use a separate library for all the non-e2ee-related stuff like logging in.
The library is currently embedded in mautrix-meta, but may be separated later.

In case later ever arrives, there is a good chance of supporting Facebook Messenger in purple again. Maybe as part of this plug-in. Or perhaps someone (that may or may not be me) comes up with a new purple-facebook. As long the log-in functions are embedded in mautrix-meta, extracting them (and keeping up with the changes) will be an immense chore. I will not do that.

Kind Regards
Hermann

@hoehermann hoehermann changed the title Messenger compatibility Messenger (Meta Facebook) compatibility Dec 16, 2024
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