Use Facebook Chat in Pidgin with XMPP

A few days ago Facebook opened their chat service for the use of the XMPP, an open XML based protocol.

The XMPP potocol is widely known thanks to Jabber and GTalk, both based on XMPP.  Thanks to the use of XMPP as a protocol users are able to connect to Facebook Chat using a XMPP supporting client like Pidgin, Trillian and more.

In our example configuration we are using Pidgin.

To use Facebook Chat in Pidgin you need to add a new Account and select the XMPP protocol. As username you need to enter the Facebook Accountname found in the FB settings under Account->Account Settings->Username. If you did not generate a Username you might do this now. The needed domain entry ist chat.facebook.com. As Resource you might choose Pidgin, your PC name or whatever you like to. As Password you need to enter the Facebook Account Password.

Facebook Chat in Pidgin Einrichtung Teil 1Facebook Chat in PidginSet-Up Part 1 

After you are finished with the settings in the Basic Tab, you need to switch to the Advanced Tab. Here you need to enter chat.facebook.com as Connect Server and deactivate Require SSL/TLS as the XMPP Chat connection to Facebook only works unencrypted at the moment.

Facebook Chat in Pidgin Einrichtung Teil 2Facebook Chat in Pidgin Set-Up Part 2 

To finalize the Set-Up you can now Add the newly created Account and use it in Pidgin. For more information on XMPP and Facebook you can use the Facebook Help Center and search for XMPP chat. There are instructions on other clients besides Pidgin, like Adium and iChat.

 

Facebook Chat in Pidgin nutzen dank XMPP

Vor wenigen Tagen hat sich Facebook geöffnet, zumindest was den Chat angeht und gestattet die Verbindung zum Chat mittels XMPP Protokoll, einem offenen, auf XML basierenden Protokoll.

Das XMPP Protokoll ist durch Jabber bekannt und wird ebenfalls von Google Talk eingesetzt. Die Möglichkeit auf den Facebook Chat über XMPP zuzugreifen ermöglicht die Verbindung zum Chat mit jedem Client der das Protokoll unterstützt.

Am Beispiel von Pidgin soll im Folgenden die Einrichtung kurz beschrieben werden.

Um Facebook Chat in Pidgin zu nutzen muss man zuerst ein neues Konto/einen neuen Account anlegen und XMPP als Protokoll auswählen. Als Benutzernamen wählt man den Accountnamen bei Facebook (zu finden unter: Kontoeinstellungen -> Nutzername), als Domain ist chat.facebook.com einzutragen. Als Quelle kann man den Clientnamen verwenden, in unserem Fall Pidgin, danach ist das Facebook Passwort gefragt.

Facebook Chat in Pidgin Einrichtung Teil 1
Facebook Chat in Pidgin Einrichtung Teil 1

Für den letzten Teil der Konfiguration gilt es die erweiterten Einstellungen im Erweitert-Reiter zu bearbeiten. Als Verbindungsserver ist wiederum chat.facebook.com zu wählen und SSL/TLS erforderlich zu deaktivieren. Leider klappt bisher die Verbindung zum Chat nur unverschlüsselt, man darf hoffen dass sich dies bald ändert.

Facebook Chat in Pidgin Einrichtung Teil 2
Facebook Chat in Pidgin Einrichtung Teil 2

Nun kann der Account hinzugefügt und benutzt werden. Facebook bietet im Hilfe Center weitergehende Informationen zu der Einrichtung des Facebook Chats in iChat und Adium. Hierzu im Hilfecenter nach „XMPP chat“ suchen.