[jdev] Facebook now supports XMPP connections
Sebastiaan Deckers
cbas at pandion.im
Fri Feb 12 10:21:15 CST 2010
On Fri, Feb 12, 2010 at 4:56 AM, Peter Saint-Andre <stpeter at stpeter.im> wrote:
> On 2/11/10 8:43 PM, Tim Julien wrote:
>> 4. Support IQ
>
> Heh, yes. My understanding is that Facebook Chat is not a native XMPP
> implementation, and that their XMPP features are implemented in a
> gateway or a client connection manager of some kind. Unfortunately,
> their backend system strips out all sorts of interesting data. Perhaps
> they'll fix that in the coming months.
Facebook Chat does have some <iq/> support. I'm able to fetch names
and avatars from vCards.
SENT: <iq type="get" id="sd116"
to="u123457890 at chat.facebook.com"><vCard xmlns="vcard-temp"/></iq>
RECV: <iq xmlns="jabber:client"
xmlns:stream="http://etherx.jabber.org/streams"
from="u123457890 at chat.facebook.com"
to="sebastiaan.deckers at chat.facebook.com/Pandion_e3a1e115_47F45C5646154_2beae013_47F698B3A32A6"
id="sd116" type="result"><vCard xmlns="vcard-temp"><FN>John
Doe</FN><PHOTO><TYPE>image/jpeg</TYPE><BINVAL>[...]</BINVAL></PHOTO></vCard></iq>
Sebastiaan
More information about the JDev
mailing list