Facebook XMPP
Magnus Henoch <[email protected]> Mon, 13 Jun 2016 20:06:04 +0100
| Newsgroups | gmane.network.jabber.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I haven't been able to use the Facebook XMPP interface for a while. It still listens on port 5222 on chat.facebook.com, and STARTTLS negotiation succeeds, and then it offers two SASL mechanisms, X-FACEBOOK-PLATFORM and PLAIN. My client only implements PLAIN, so that's what it chooses. Even though I'm sure I'm typing the right password, I get a not-authorized error. Before I bother trying to implement X-FACEBOOK-PLATFORM, I'd like to ask: is this working for anyone else? Or was the XMPP server just left running, without being able to do anything useful? I attached the XML trace, in case it's enlightening. Regards, Magnus _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
facebook.xml
(text/plain, 1.7 KB)
<!-- sending@2016-06-13T19:00:43Z: -->
<?xml version='1.0'?><stream:stream to='chat.facebook.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
<!-- receive@2016-06-13T19:00:44Z: -->
<stream:stream from="chat.facebook.com" id="1" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" xml:lang="en"/>
<!-- receive@2016-06-13T19:00:44Z: -->
<stream:features>
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>X-FACEBOOK-PLATFORM</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
</stream:features>
<!-- sending@2016-06-13T19:00:44Z: -->
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<!-- receive@2016-06-13T19:00:44Z: -->
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<!-- sending@2016-06-13T19:00:44Z: -->
<?xml version='1.0'?><stream:stream to='chat.facebook.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
<!-- receive@2016-06-13T19:00:44Z: -->
<stream:stream from="chat.facebook.com" id="1" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" xml:lang="en"/>
<!-- receive@2016-06-13T19:00:44Z: -->
<stream:features>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>X-FACEBOOK-PLATFORM</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
</stream:features>
<!-- sending@2016-06-13T19:00:48Z: -->
<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">xxx</auth>
<!-- receive@2016-06-13T19:00:48Z: -->
<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<not-authorized/>
<text>plain login failed</text>
</failure>
<!-- + -->