Facebook contacts, XMPP and presence

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
JordanF98765
Harmless
Posts: 4
Joined: Mon Jun 02, 2008 2:19 am

Facebook contacts, XMPP and presence

Post by JordanF98765 »

Hi,

I'm trying to connect to Facebook chat via XMPP the way Adium does. (I think Adium uses XMPP, and not another api...) But FB's jabber server returns a roster that doesn't include presence info (available/away/idle) for contacts.

Where can I start digging to figure out how Adium grabs this info? Can anyone give me the quick rundown if they know it offhand?

I've been asking how to get roster/presence info from facebook via XMPP on the FB developer forums, but the issue seems to be that it's not available. That's why I'm asking here, because I see that data being pulled by Adium.

Thanks for taking the time to read this,
~Jordan
User avatar
Robby
Cocoaforge Admin
Posts: 2610
Joined: Mon May 01, 2006 3:00 am

Re: Facebook contacts, XMPP and presence

Post by Robby »

JordanF98765 wrote:Hi,
Hi Jordan,
JordanF98765 wrote:I'm trying to connect to Facebook chat via XMPP the way Adium does. (I think Adium uses XMPP, and not another api...) But FB's jabber server returns a roster that doesn't include presence info (available/away/idle) for contacts.
Well, I don't know what you've tried to do but if you selected the "Facebook" account option you are using the plugin which does not connect via XMPP. To connect via XMPP, follow the instructions here: http://trac.adium.im/wiki/FacebookChat# ... XMPP-based.
JordanF98765 wrote:Where can I start digging to figure out how Adium grabs this info? Can anyone give me the quick rundown if they know it offhand?

I've been asking how to get roster/presence info from facebook via XMPP on the FB developer forums, but the issue seems to be that it's not available. That's why I'm asking here, because I see that data being pulled by Adium.

Thanks for taking the time to read this,
~Jordan
I'm not a developer but from what I've heard the missing presence info is a limitation on Facebook's part.

Regards,
Robby
JordanF98765
Harmless
Posts: 4
Joined: Mon Jun 02, 2008 2:19 am

Re: Facebook contacts, XMPP and presence

Post by JordanF98765 »

Forgive me if this is obvious, but how is the plugin connecting to facebook chat if it's not using XMPP?
User avatar
David Munch
Grandé
Posts: 892
Joined: Sun Dec 05, 2004 3:41 pm
Location: Denmark
Contact:

Re: Facebook contacts, XMPP and presence

Post by David Munch »

JordanF98765 wrote:Forgive me if this is obvious, but how is the plugin connecting to facebook chat if it's not using XMPP?
I believe it is a reverse engineered implementation of the FB chat protocol. You can read more about it here.
For Vienna issues: Please search Github before posting! Otherwise, file a bug report on Github.

If you are interested in helping out with the development of Vienna, see the Vienna website for details. All levels of programming experience are welcome! :grin:
Post Reply