Closed bnvk closed 6 years ago
I don't really know what this means... :-)
I somehow get the feeling that people didn't really send money to fund facebook integration...
@Llafgorf i'm not planning on building this, nor am I suggesting it be a Mailpile core feature- hence the world "Plugin." My hope is someone(s) in the community will be interested in helping.
@smari I hate Facebook. I can't wait for the day there is some sort of interop whereby I never EVER have to login to that site again. With that said, I have numerous friends who insist on using Facebook messages, thus I am forced to login and reply. Their Messages API is built on top of Jabber, so in theory I could use a Jabber client like Adium to interact, but I'd rather be indexing those conversations where my emails are- hence integrating with Mailpile. Make sense?
Right, yes. That makes sense. Then I'd suggest that this is equivalent to #55 as a baseline, but detailing further specific UX details...
@brennannovak thanks for the clarification (and I feel your pain! ;-)
Pushing PGP-encrypted content over Facebook messages would work fine - technically, this could boil down to supporting XMPP as an alternate transport to SMTP and if done in that way there wouldn't be any Facebook-specific code except maybe logic which automatically chooses the XMPP transport when contacting folks on Facebook.
Drawbacks to that approach, which could be allevited by writing custom facebook-only code:
I don't think this is ever happening. Or at least, it doesn't need to be on our issue list - if someone from the community does this, awesome!
This is something I've LONG wanted to exist. I know, I could use Admium or any other Jabber client, but I want this data correlated with emails as I use both in very similar ways.
Jabber Library
This seems to be a pretty well supported XMPP library for Python https://github.com/fritzy/SleekXMPP
And here is a decent post about using it work with the Facebook Messages http://philsturgeon.co.uk/blog/2013/06/facebook-message-with-xmpp-access-tokens-python
Facebook Message API documentation https://developers.facebook.com/docs/reference/api/message/
Encrypted Chats
We should also add encryption so that two Mailpile users can communicate over Facebook API in a fully encrypted chat. This will have the benefit of allowing a user to toggle seamlessly between conversations of their contacts- so of which will be encrypted, some won't- which is a gain to everyone.
Not exactly sure how key exchange would work, but perhaps something like when starting a chat pop up a message (in the chat) like: