RES API x OFCHAT

Hello everybody!

I need some help… I have the Openfire working normally, sending messages by Ofchat, with the help of the REST API, but its development has been paralyzed. Is there any other that can be used? The plane REST API messages in broadcast, but not individually to each user.

Any suggestion?

TKS

Hi Fabio,

The REST API is not intended to completely replace the XMPP functionality that’s provided by Openfire. If you are interested in building a solution that sends and receives messages, then I would recommend using an XMPP library instead of the REST API. XMPP libraries (like our own Smack library for Java) are widely available for most platforms. Have a look at the ‘library’ section of the software listing at the website of the XMPP Standards Foundation for a sample of the available tooling.

I hope this helps!

Thanks! Very good! Interesting, but does this library allow sending messages by http request?

No, they are distinct things. XMPP is a protocol similar to how HTTP is a protocol.

Hello everyone! Is there any new implementation in the RESP API that allows users to send messages without broadcasting them to everyone?
I was using Offchat and it was working. It sent messages to users via REST API, but it stopped working after the penultimate OpenFire update.
I have a chatbot on an external platform that sent messages to my users by connecting to the OpenFire server via RES API and making a POST, sending messages to a specific user, and I used this a lot. But it stopped working.

Isn’t there a way for this Plugin (REST API RESTful API - 1.10.2) to do this function of sending messages to a specific user?

Thanks

Such functionality does currently not exist, to my knowledge.

Ok. Ok, I was using Ofchat for this but it stopped working…