I've been seeing this behavior for some time now, but it wasn't really a problem. After I successfully authenticate in xmpp with my own app, an error close my connection:
<message from="chat.facebook.com"
to="-USERID@chat.facebook.com/RESOURCE" type="normal">
<subject>Lo sentimos, tu cuenta no está disponible</subject>
<body>Your account is temporarily unavailable. Regain
access by logging into your account from your
computer's web browser: http://www.facebook.com/
</body>
</message>
<stream:error>
<conflict xmlns="urn:ietf:params:xml:ns:xmpp-streams"/>
<text xml:lang="" xmlns="urn:ietf:params:xml:ns:xmpp-streams">
Session terminated
</text>
</stream:error>
Note the message stanza that I received before the disconnection.
Why is this happening?, have I hit some kind of undocumented limit?, and more than that, is there a way to differentiate between this error and a disconnection from the Facebook's web page?.
I used to check the texts that are received in that message stanza, but now they change almost weekly, and the stream:error's text is the same for both cases, so it's painful to change the app every time a text changes.