Questions tagged [xmpp]

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data.

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data. The protocol is commonly used in instant messaging (IM) applications, but can be used to exchange any kind of data. It can also be leveraged for multi-user chat, collaboration, voice and video, message-oriented middleware, and many other applications.

XMPP works by initiating a bidirectional XML stream between two entities. The stream is used to transport XMPP stanzas, which are small, well-defined blocks of XML.

An overview of XMPP protocol is available at https://xmpp.org/about/technology-overview.html

There are various XMPP servers available to use. For more comprehensive lists of server, client implementations as well as XMPP libraries, visit xmpp.org.

5941 questions
19
votes
6 answers

How to get timestamp of incoming xmpp message?

I am using aSmack library to communicate with remote xmpp server. I am able to send/receive messages, but I want to get timestamp of incoming message. Could you tell me please, is it possible at all? Because I can't find anything about this…
Infernus
  • 317
  • 1
  • 4
  • 10
18
votes
3 answers

Good XMPP/Jabber client library for .NET 3.5 (or 4.0)

What are some good (or the best!) XMPP/Jabber client libraries for .NET 3.5 or 4.0 development? I have seen a few decent libraries out there, but most of the good ones seem to be built for Framework 2.0. (If a Framework 2.0 library is still the…
pearcewg
  • 9,545
  • 21
  • 79
  • 125
18
votes
5 answers

how to add roster with subscription mode "both"

i'm using smack 3.1.0, and when i add a roster,i can't get subscription "both". who can help me? below is my code: Roster.setDefaultSubscriptionMode(Roster.SubscriptionMode.accept_all); Roster roster =…
snowway
  • 191
  • 1
  • 1
  • 7
18
votes
3 answers

How do I integrate chat with nodejs and xmpp into my existing web application?

I have read a lot of questions relating this, but none of them are satisfying. Existing App A minimalist social network implemented using Expressjs as an API.Using MySql as DB.socket.io for notifications and ember.js as a frontend…
LoneRanger
  • 665
  • 13
  • 31
18
votes
2 answers

How To get Old Messages (Chat History) from XMPP

I am new to XMPP. and I need to get chat history from Openfire with XMPP. I did Googling but didn't get satisfactory Answer. Any link or idea will be great help.
user3111156
  • 228
  • 1
  • 2
  • 6
18
votes
5 answers

XMPP aSmack - How can I get the current user state (offline/online/away/etc.)?

I am new to xmpp/asmack in android. Can anyone please help me in getting the presence of the user's friends ( roster list) I am using this : Presence availability = roster.getPresence(user); Mode userMode = availability.getMode(); What else should…
samsad
  • 1,241
  • 1
  • 10
  • 15
18
votes
1 answer

How to force xcode to use ARC on a specific file?

My project contains XMPPFramework which contains a file that has to be used with ARC. But my project is Non ARC and cannot be converted due to certain other libraries linked to it. How do I force the compiler to use ARC only on a certain class ?
Maduranga E
  • 1,679
  • 5
  • 23
  • 37
18
votes
5 answers

Wrangling up XMPP

Wikipedia defines XMPP as: ...an open-standard communications protocol for message-oriented middleware based on XML. xmpp.org defines XMPP as: The Extensible Messaging and Presence Protocol (XMPP) is an open XML technology for real-time…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
17
votes
3 answers

Opensource .Net Jabber/XMPP server?

I've seen quite a few examples of XMPP clients in .Net, and I've seen quite a few servers in various languages, but I'm looking for a .Net version (opensource if possible) of a XMPP server. It doesn't particularly have to be stable, or full of…
caesay
  • 16,932
  • 15
  • 95
  • 160
17
votes
2 answers

Smack 4.1 Re-connection issue

I am developing a Chat application in which I have a background service that is continuously running. The Application is running smoothly and I am able to receive and send messages without any issue. I am using default Smack 4.1 Re-connection…
shanraisshan
  • 3,521
  • 2
  • 21
  • 44
17
votes
4 answers

How do you create a simple Google Talk Client using the Twisted Words Python library?

I am interested in making a Google Talk client using Python and would like to use the Twisted libraries Words module. I have looked at the examples, but they don't work with the current implementation of Google Talk. Has anybody had any luck with…
Jim
  • 1,217
  • 10
  • 16
17
votes
3 answers

ejabberd and Push Notification

I have integrate chat system in my iOS and Android app using XMPP. I have used ejabberd 2 in the server side. Chatting sytem works fine. I want to integrate push notification in my chating using APNS and GCM. How can I send a push notification with…
vks
  • 6,649
  • 7
  • 36
  • 55
17
votes
2 answers

send push notification to ios for chat to offline user, openfire xmpp

I have an ios chat application that uses openfire, what I need to do is send push notification when the message (1) can't be delivered for any reason, (2) app is in suspended state, i.e. can't generate a notification on its own. I have read most of…
shailesh
  • 763
  • 2
  • 9
  • 23
17
votes
1 answer

Access Google Talk chat history

I'm looking for a method to access Google Talk chat history. Method to be used for an android device but does not have to be specific to it. I am looking for preferably an official method, but this is not required. AFAIK there is no official method.…
Jug6ernaut
  • 8,219
  • 2
  • 26
  • 26
17
votes
1 answer

xmpp login fails after authentication

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: