You can setup iChat to enable chat with your Facebook friends. Facebook’s chat service is powered by Jabber/XMPP, which is the same open source chat protocol used by Google Chat. This enable iChat which support Jabber to connect to Facebook chat.
First you need to get your Facebook username. You can find out about your Facebook username from Facebook account settings page (Account > Account Settings). Username is not setup when you create a new Facebook account. Visit the account settings page to set your username, which will require verification by Facebook using mobile number.
Open the iChat Preferences and select the Accounts tab. Click the ‘+’ icon to add a new account to iChat.
![Using Ichat Facebook Chat](http://sanziro.com/wp-content/uploads/2010/03/using-ichat-facebook-chat.png)
On the Account Setup dialog, select “Jabber” for account type. Account name is your Facebook username. Password is your Facebook login password. Expand the Server Options and enter “chat.facebook.com” for Server and set the Port to 5222.
That’s it. You should now be able to communicate with your Facebook friends using iChat without opening Facebook in a browser.