Here is a quick tutorial on setting up your Facebook chat on iChat Messenger.
- Open iChat -> Prefrences
- Go to Accounts and add a new account by clicking on + sign.
- Add your facebook name@chat.facebook.com . For e.g. My Facebook profile is http://www.facebook.com/munish.chopra1 . So my username is munish.chopra1@chat.facebook.com
- Enter your password and set the server name to chat.facebook.com
- Enter the port as 5222

Thats it. You are done