Easily Add Facebook Chat to Pidgin

Want to keep in touch with your Facebook friends throughout the day?  Here we’ll show you how to easily add Facebook chat to the popular multi-protocol chat client Pidgin.

Facebook has recently added support for XMPP chat, which means you can easily add it to popular chat clients such as Pidgin.  Previously you could only add Facebook chat to Pidgin through a plug-in that didn’t always work correctly.  Here we’ll walk you through setting up your Facebook account in Pidgin.

Getting Started

First, make sure you have a username for your Facebook account (link below).  This is a relatively new feature for Facebook, so if you’ve had your account for a while you may need to choose one. 

 image

If you already have one, you should see it listed instead.

image

Now, open Pidgin, and click Manage Accounts.

sshot-488

Click Add…

image

Then select XMPP from the Protocol list.

sshot-483

Now, enter your Facebook username without the facebook.com part (e.g your.facebook.username, not http://www.facebook.com/your.user.name).  Then, enter chat.facebook.com for the Domain, and enter your standard Facebook password.  You can check the “Remember password” box if you’d like Pidgin to automatically sign in to Facebook chat.

image

Now, click on the Advanced tab, and uncheck the “Require SSL/TLS” box.  Also, make sure the Connect port is 5222.  Click Add, and your Facebook account is added to Pidgin.

sshot-484

Now Facebook will show up in your list of accounts, with the username your.facebook.username@chat.facebook.com.

image

Your Facebook friends will show up directly in your Buddy list, complete with their full name and Facebook profile picture.  Any users that are not in a group will show under your standard list, while ones in a Facebook group will be shown in a separate group.  You can move which groups your Facebook friends show up in, just like you can with other chat contacts.

 image

And no matter if your friend is logged in on the standard Facebook website or through another chat application, it will work the same as always.

image 

This is a great way to keep in touch with your Facebook friends throughout the day.  If you like Facebook chat and already use Pidgin, now you can keep from switching between programs and just chat with all your friends from a central location.

Links:

Download Pidgin

Set your Facebook username

This article was originally written on 03/10/10 Tagged with: Geek Fun, Other

Comments (28)

  1. Rashid Rupani

    Not working for me..

  2. matt

    just search “facebook chat in pidgin” on google and look for the link to the plugin which adds an facebook option to the account type box

  3. Corey

    Facebook’s xmpp doesn’t allow using port 80 does it?

  4. Chalpa

    Cool! This option works in the portable version too, the plugin doesn´t.

  5. Matthew Guay

    @matt – yes, you can do it with a plugin, but now that XMPP is supported it is the preferred method of using FB chat with Pidgin. This method is much more reliable than the plugin was.

    @Corey – FaceBook XMPP chat requires you to use port 5222

  6. bryan

    not working for me…
    when i tried to connect it says;

    bryanlamchihoong @ chat.facebook.com/ 已断开连接

    help me pls

  7. Jeahavee

    THIS WORKS GREAT. For some reason the “facebook” plugin or whatever doesn’t work but this work perfect.

  8. Matthew Guay

    @Jeahavee Good, glad it worked good for you. I had the same experience with the old plugin, and have enjoyed this new trick myself :)

  9. Victor

    This is not working for me, doublechecked the settings. If I have SSL/TLS on, Pidgin says “You require encryption but it is not available on this server”. If I turn it off it says “xyz@chat.facebook.com/ requires plaintext authentication over an unencrypted connection. Allow this and continue authentication?” If I say “YES” I get “503: Service Unavailable”. any thoughts?

  10. Tim

    FYI: This didn’t work for me until I added chat.facebook.com as the “Connect Server” under the Advanced tab. Now it’s working fine.

  11. daveo76

    I like using an application for pidgin called pidgin-facebookchat. As you can see the users pictures and status. plus when you hover your mouse pointer of a username it shows a bigger window with a bigger picture and show all the users status

  12. mchlbk

    Hmm, not working for me. Keeps giving the 503-error.

  13. Henry

    Also been getting a 503 error

  14. dannybuntu

    503 me too.

  15. Matthew Guay

    I’ve never seen the errors with FB chat in Pidgin, but make sure that:
    - you have a Facebook username.
    - you’re using port 5222

    If this is set correctly, and Pidgin already works with other chat networks, then you FB chat should work fine, too.

  16. Mido

    I did your setting before March and it worked fine. But now it seems something changed in Facebook chat and can’t get your setting work for now. Error 503 and need plaintext authentication.

  17. Isaac Witmer

    When ever I try and sort my “buddies” it resorts them on the next log in.

    Is anyone else having this happen?

  18. joe

    it works for me. cool. take a bit longer at first but finally …:)

  19. Natalie

    to people having trouble – try entering the following information in addition to everything in the howto:
    Resource: Pidgin
    Local alias:

    and under the advanced tab
    Connect server: chat.facebook.com

    this fixed the 503 error for me

  20. JZ

    Ahhhhhhhhh!!! Thank you sooooo much!!!! Finally fixed it!!!!! Yay!!!!!

  21. downforce

    If you enter a Local Alias instead of seeing xxxx @ chat.facebook.com/xxx11111×1x11×11x1×11x1 you will see a pretty name ‘My name’

  22. Logan

    This was very helpful. Thanks so much!

  23. dike

    my god… what exactly does he mean when he says you must enter Your.Facebook.Username ????

    does he mean we must enter Your.Facebook.JohnDoe or does he mean that we must enter just JohnDoe ??? Why didn’t he just fill it up with a Complete Example Using Fake Info instead of hiding/shading out some parts of the pics and using incomplete examples :( ( what exactly is Your.Facebook.Username ???

    Or is he simply trying to say “Type your Facebook Username Here” ?? i am lost cuz THIS IS NOT WORKING FOR many folk above including MYSELF and i am NOT sure if the reason could be this your.facebook.username thing . . . :( ((

  24. Constantino

    Hi

    @Victor and anyone else getting the “requires plaintext authentication over an unencrypted connection” thing.

    It will keep failing to connect until you uncheck “Allow plaintext auth over unencrypted streams” in the advanced tab. Probably if I had just said NO in the first place the problem may not have come up but give a go and see if it works.

    C

  25. dexi

    This is perfect! now i don’t have to worry about fussing with all the crap that goes with getting that plugin to work on linux… thanks xD

  26. David

    OK guys, it seems it won’t work for allot of people until you go here:

    http://www.facebook.com/sitetour/chat.php

    Go there, click pidgin, it will ask you to log out of Facebook, then log back in. Then reactivate the pidgin account, it should connect this time.

  27. Poul

    THx works perfectly!

  28. amila

    Wooooow!

    thankx, it works

Leave a Reply