Page 1 of 1

Facebook contacts, XMPP and presence

Posted: Fri May 14, 2010 6:42 pm
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

Re: Facebook contacts, XMPP and presence

Posted: Fri May 14, 2010 6:55 pm
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

Re: Facebook contacts, XMPP and presence

Posted: Fri May 14, 2010 7:10 pm
by JordanF98765
Forgive me if this is obvious, but how is the plugin connecting to facebook chat if it's not using XMPP?

Re: Facebook contacts, XMPP and presence

Posted: Mon May 17, 2010 8:52 am
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.