Facebook XMPP chat API - device priority

I created a Facebook application that uses chat api using the following structure

Strophe.js <-- --> Punjab <-- --> Facebook XMPP 

Everything works perfectly. My question is: can I prevent other clients from receiving messages after connecting my application?

to clarify: if a user starts using my application for communication, he should not receive answers in a regular facebook ui chat.

Can this be done?

+7
source share
1 answer

I do not think this is possible. You can test it with Pidgin through the XMPP console .

developer docs for chat lists supported features and contains a section on limitations that starts:

Facebook chat should be compatible with every XMPP client, but not a full-fledged XMPP server. It should be considered as a proxy server in the Facebook Chat world at www.facebook.com. As a result, it has several behaviors that are slightly different from what you would expect from a traditional XMPP service: ...

Because of this, you should not expect Facebook browser clients in the browser to behave like XMPP compatible clients.

+1
source

All Articles