Successfull Authentication But Status Is Always "offline" And Rooster Is Empty (android,xmpp,facebook)
I am developing XMPP client for chat.facebook.com on Android. I use X-FACEBOOK-PLATFORM mechanism. According to the server response, I am successfull with authentication. But my JI
Solution 1:
I solved it. I just needed to grant xmpp_login permission.
Solution 2:
After login you need to set presence
. You can do it as follows.
Presencepresence=newPresence(Presence.Type.subscribe);
presence.setStatus("Online");
xmpp.sendPacket(presence);
Post a Comment for "Successfull Authentication But Status Is Always "offline" And Rooster Is Empty (android,xmpp,facebook)"