Adium + Facebook Chat + 2-factor auth: yes, we can!
Update (2015-08-01): this is no longer working. Facebook dropped the support for XMPP.
Adium is one of the best multi-protocol chat clients for OS X. Among the supported services, Facebook chat is included. But on April 30, 2014 Facebook decided to deprecate the Facebook Chat API, so external clients are not able to connect to the chat using that API.
However, it appears that the XMPP protocol is still working. So, let’s use it.
- If you use two-factor authentication (2FA), first go to https://www.facebook.com/settings?tab=security and generate a new app password for Adium.
- Open Adium and go to menu Adium -> Preferences… -> Account.
- Create a new XMPP (Jabber) account. Do not create a Facebook account, that will not work.
- Insert email@example.com as the Jabber ID (“username” is your username on Facebook).
- If you use 2FA, insert the app password generated at step 1 as your password. If you’re not using 2FA, insert your Facebook password.
- Go to “Options” and enable SSL/TLS.
- Click on “Ok”.
- After a brief delay, Adium should connect to Facebook chat!