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
8
votes
1 answer

XMPP server for Python

I am interested in developing a chat engine using XMPP and I want to use Python for my web development. Although, XMPP will be independent of this Python work but in case I want to write wrapper, then I will have to use that language. So, I want to…
Him
  • 103
  • 2
  • 4
  • 7
8
votes
2 answers

How to authenticate to Google Talk with AccountManager's authentication token using Smack API?

This question is similar to: Authenticate to Google Talk (XMPP, Smack) using an authToken I have android.accounts.AccountManager class and its methods to get authentication token for Google account: public AccountManagerFuture getAuthToken…
Bell
  • 81
  • 1
  • 2
8
votes
1 answer

Any XMPP plugin for flutter?

I'm looking for a XMPP library or plugin for my flutter project to build chat app. I've tried looking at https://pub.dartlang.org searching for XMPP but no luck. Searched github and found this https://github.com/MaxHorstmann/dart-xmpp but…
Steve Chan
  • 107
  • 1
  • 9
8
votes
3 answers

iphone XMPP App run background

I created a chat application using XMPP framework..when I quit the app(enter background mode) I want to receive the chat message..and also need to display the icon badge...How can I do this?
Raj
  • 5,895
  • 4
  • 27
  • 48
8
votes
1 answer

how does XMPP client select an authentication mechanism?

I'm trying to learn the XMPP spec (RFC 3920) by coding it in low-level Python. But I've been hung up for over an hour at step 4 of section 6.5, selecting an authentication mechanism. I'm sending:
jcomeau_ictx
  • 37,688
  • 6
  • 92
  • 107
8
votes
2 answers

difference between XMPP servername and XMPP servicename?

In Smack API, there is a configuration class for connection, described at this page ConnectionConfiguration I am confused about the distinction between service name and server name. Suppose I have a computer named "mybox.mydomain.com", and I have…
Jus12
  • 17,824
  • 28
  • 99
  • 157
8
votes
17 answers

How to secure a password from being readable at the client?

I need to pass username and password which is at the server to my web chat clients javascript function. When I send the username password through my php code in the javascript function it becomes readable to the user in the source which is…
Mohsin Sheikh Khalid
  • 3,914
  • 5
  • 20
  • 22
8
votes
0 answers

How can I get last message of each conversation(per JIDs) from openfire?

I'm developing an instant messaging app on android with SMACK library that uses OPENFIRE as a xmpp server. I want to get last message of each conversation from MessageArchiveManager in openfire server that was enabled by MONITORING SERVICE…
Mahdi Moqadasi
  • 2,029
  • 4
  • 26
  • 52
8
votes
1 answer

Read XElement from XmlReader

I'm playing around with parsing an XMPP XML stream. The tricky thing about the XML stream is that the start tag does not get closed until the end of the session, i.e. a complete DOM is never received.
sipsorcery
  • 30,273
  • 24
  • 104
  • 155
8
votes
2 answers

Android/Smack: Keep XMPP connection alive in sleep mode

I have an Android application that has a chat client as one of its features. The chat client uses XMPP based on the Smack library for Android and running Openfire as XMPP server in the background. The connection is established using BOSH The whole…
Christian
  • 3,239
  • 5
  • 38
  • 79
8
votes
2 answers

how to add new buddy in roster in xmpp

Hi i am using smack.jar.I am able to connect with gtalk using it.Using Roster.getentries() i can get my buddy list.But how can i add new friends to my buddyList.Is there any API smack exposes to add new users?? Thanks
SPB
  • 4,040
  • 16
  • 49
  • 62
8
votes
1 answer

Docker compose error "In file './docker-compose.yml', service 'punjab' must be a mapping not a string."

I am getting a strange error in my docker-compose.yml file. I have prepared a docker-compose file for the stack punjab connection manager, ejabberd and mysql. Below is the docker-compose.yml file version: '2' services: punjab: image:punjab …
Vaibhav Ranglani
  • 215
  • 1
  • 2
  • 14
8
votes
2 answers

What is the difference between WebRTC, Jingle and XMPP?

What's the difference between WebRTC and Jingle. I am going to build Android based voice calling app using XMPP ejabberd server. So, which one of these will be best choice for voice calling on Android?
8
votes
3 answers

How to check the presence of Particular user online/offline status through XMPP server

I am building an app where I need to find online/offline status of only those users with whom I have exchanged messages in past. Not all the users available on the server. Thanks in advance.
manishsharma93
  • 1,039
  • 1
  • 11
  • 26
8
votes
1 answer

Validating an XMPP jid with python?

What is the correct way to validate an xmpp jid? The syntax is described here:, but I don't really understand it. Also, it seems pretty complicated, so using a library to do it would seem like a good idea. I'm currently using xmpppy, but I can't…
static_rtti
  • 53,760
  • 47
  • 136
  • 192