If this is the first time you connect to facebook chat through XMPP, please read the note at the end of the Post
Adium is one of the best Instant Messaging Client out there for Mac, it can be easily customized or themed, and it supports multiple Accounts and Instant Messaging Protocol. But for some reason, Facebook Chat doesn’t seem to work in Adium (with latest stable release 1.4.1), I can add my Facebook Account but it kept asking for authorization thus I can’t connect to Facebook chat.
But thankfully, Facebook Chat is based on Jabber, therefore we can connect through Facebook Chat using Jabber Protocol from Adium:
- Run Adium (obviously )
- Go to Adium > Preferences… and select the “Accounts” tab and click the + (plus) button located at the bottom left of the window to add a new account. Select Jabber from the Protocol list.
- Fill your Facebook USERNAME in “Jabber ID” and add @chat.facebook.com at the end of your USERNAME (See Picture Below). Please take note that your email is not your Facebook Username, take a look at the link to your Profile page if you do not know, ex http://www.facebook.com/YOURUSERNAMEHERE, and if you haven’t create a username for your Facebook Account, you can create it by going to Facebook Setting.
- Fill your Facebook PASSWORD in “Password”.
- Next, go to “Options” Tab, and fill in chat.facebook.com in “Connect Server”. Set the port to 5222.
- Click the “Ok” button to add your account.
Now you can connect to Facebook Chat in Adium .
Warning: You’re also connected to Facebook Chat when you access Facebook from your Web Browser, so every time someone message you on Facebook Chat, you’ll receive the message from both the Web Browser and Adium. To avoid receiving the message in Web Browser, I’ve created a simple greasemonkey script to disable/hide the facebook chat bar, thus everytime someone message you on Facebook, you’ll only receive the message in Adium . But the DOWNSIDE of using this script is that if you open Facebook in Web Browser without opening the Facebook Chat from Adium, you’ll still be connected to Facebook Chat but you’ll not be able to receive or send message since the Facebook Chat Bar in your Web Browser is Disabled. Anyway, use at your own risk .
Download the Greasemonkey Script from here.
Important Note :
For this trick to work, you need to set your Username for your Facebook Account. If you haven’t done so, visit the link below to set up your Facebook Username:
Also, if this is the first time you connect to Facebook Chat through XMPP Protocol, you’ll get the 503 Not Authorized error (Pidgin) or the client will kept on asking for your password. To solve this problem, you need to visit the following page:
From there, select on any IM client listed there (you can select pidgin, adium, or iChat), it will ask you to log out from your Facebook account (provided that this is the first time that you tried to connect to Facebook chat from XMPP, else it won’t ask you to log out).
Log out and relog to your Facebook Account. Now, make sure you’re disconnected from the Web Facebook Chat (you can log out from the Web Facebook Chat by clicking the Facebook Chat Bar located at the bottom right of the facebook site, then go to “Options” and select “Go Offline”).
Now try to connect to Facebook Chat from Adium, it should work !