Ce billet est en anglais pour une audience plus large
Once upon a time, facebook messenger was XMPP compatible. That means that using it with XMPP clients as pidgin was easy and open. But time changes and facebook decided to close its XMPP gateway to its popular messenger service.
I like to have centralised chat service. At home I can use pidgin or adium but I had to connect all my accounts on each device. And I needed a good web service. That once was featured by meebo but after google acquired it the service was stopped. That's when I decided to switch to a full self hosted service based on eJabberd for XMPP server and Jappix as a web fronted. I can still use any XMPP compatible client but I only have one account to connect!
Through my XMPP server I can, with gateways, access other services such as ICQ, AIM, Yahoo or other XMPP services. That's what I use for gtalk and facebook... My main gateway server is Spectrum 2 (even if dev is stalled...) which itself use libpurple to connect to ICQ, AIM.
This long intro is here to expose how I built the system. After facebook shut down of its XMPP gateway I needed a way to connect to facebook again. And the solution was purple-facebook which is a third party plugin for libpurple to use native Facebook api to connect to chat service.