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
2
votes
0 answers

iOS XMPP not blocking contacts

i'm implementing in my app xmppFramework, now i'm working to block/unblock contacts(iq, messages, presence in/out). This is the piece of code i use to block: [_privacy addDelegate:self delegateQueue:…
alessioarsuffi
  • 561
  • 5
  • 16
2
votes
1 answer

Build Android XMPP instant messenger and server Example

Backgrounds I want to learn about instant messenger, both android app and server. In my first thought, I want to use GCM to communicate. But I found the article below. By this article, GCM is not good for sending messages, and It seems that I need…
Stanley Ko
  • 3,383
  • 3
  • 34
  • 60
2
votes
1 answer

Why i can't connect to node-xmpp-bosh server?

I'm using node-xmpp-bosh serve.I've run run-server.js and a server has been started.When i try to connect to server with converse.js i receive the following error: host unknown In server console appears the same error.Also i've tried to connect…
Worker1
  • 195
  • 10
2
votes
1 answer

Confused about using Superfeedr to subscribe and download RSS feeds using XMPP or Pubsubhubbub

I am trying to use Python 2.7 to subscribe to RSS feeds using Superfeedr. After reading Superfeedr documentation my understanding is that a user can subscribe using XMPP or Pubsubhubbub. I have previously worked with REST apis however I am very…
Sofia
  • 35
  • 5
2
votes
1 answer

Getting XMPP client chat history between two users

I have created a XMPP Swift Messenger with the eJabbered, but it doesn't save the history. I searched a lot and could found just answers written in ObjC, in Stack. For instance: - (void)loadChatHistoryWithUserName:(NSString *)userName { NSString…
user4809833
2
votes
0 answers

Group chat using jabber IMCore API

I am trying to run CAXL API to integrate IM to my webpages. I have tried the new jabberwerx demo with material design but group chat is not working.On clicking "invite to group chat" button, a method is invoked which tries to enter the chat room…
Deepna
  • 93
  • 1
  • 1
  • 5
2
votes
1 answer

How to get openfire chat room Archive messages using Strophe library

I use Strophe library to connect to an OpenFire XMPP server. How can I receive the chat room archive of messages ? I need to fetch messages based on start date and end date using strophe library.
Sreenivas K
  • 109
  • 1
  • 10
2
votes
2 answers

XMPP IOS Openfire disconnected after sending element

after sending custom element i get disconnected.Is there a way? my code for connection [self addDelegate:self delegateQueue:dispatch_get_main_queue()]; [self setHostName:@"bowerchat.com"]; [self setHostPort:5222]; self.myJID = [XMPPJID…
user3236289
2
votes
1 answer

How to join multiple rooms by just sending one message to ejabberd server

For example, I have 20 rooms to join. The simple solution is to send 20 message to each room id. Considering the performance, this is bad. I want to join the 20 rooms by just sending one message, how to achieve this? Writing a module to…
xhsoldier
  • 575
  • 6
  • 31
2
votes
0 answers

How can I enable AnyEvent::XMPP to connect to a server using namespace prefixes in the XML stream?

The XMPP server I am attempting to connect to has namespace prefixes like the following (zdef-#########):
Pollywog
  • 31
  • 5
2
votes
1 answer

Understanding ejabberd filter_packet hook parameters

I am trying to implement a chat messaging application using Smack and ejabberd. I am getting the input below as Packet parameter in my filter_packet hook on my server: …
no one
  • 477
  • 6
  • 19
2
votes
1 answer

How to make sender JID (From) anonymous in ejabberd

I have certain users and they can chat anonymously. They are having one to one chat. Suppose I want to encrypt the username of sender. How can I achieve this. What I have done so far : start(_Host, _Opts) -> ejabberd_hooks:add(filter_packet,…
no one
  • 477
  • 6
  • 19
2
votes
1 answer

Standalone push notification server implementation

I want to implement my own push notification server, more than a need for the product I want to know How it can be implemented. I read documents for XMPP servers like tigase, ejabberd and openfire. I know that XMPP servers can handle online messages…
Reza Ameri
  • 1,803
  • 3
  • 24
  • 32
2
votes
2 answers

How to Create UIImage from NSData and Avatar Data of XMPP?

This question is related to Iphone SDK, NSData and UIImage. I am trying to create an image from the Avatar Data returned from the xmpp like the following:
privateson
  • 395
  • 4
  • 12
2
votes
3 answers

Multi Device support in XMPP Smack Chat Application

I am developing Android Chat Application. My requirement is to deliver messages to multiple devices. Consider this scenario between two users User A and User B: User A logs in and sends message to User B. User B logs in from Device 1 and receives…
Vinod Patel
  • 430
  • 1
  • 7
  • 19