How to connect a Facebook account to Adium?

Facebook updated its chat system, breaking Adium's support. You can still connect to Facebook but you need to setup the account as a Jabber account.

Your username will be [email protected]. The server is chat.facebook.com. The port is 5222 and you should not use SSL.