change user presence from api

3 replies [Last post]
Anonymous

Is it possible to develop a api / connector to change the presence of users via an external application ?

wojtek's picture
Offline
Joined: 2010-11-24
Points: 1167

With completely avoiding using XMPP at any step?

kobit's picture
Offline
Joined: 2006-09-03
Points: 267814

It is possible and there are many ways to do so. However, the best way heavily depends on what exactly you want to achieve.
Do you want to change user's presence status for his already connected real resources or you want to create kind of a virtual, new resource with a special presence status?
The first case means close integration with Tigase session manager, the second can be achieved via component which can activate user's "virtual" resources and set presence status for them.
There are other ways possible but we really need to know more about your case.

Anonymous (not verified)

I have a similar problem to solve.

I need to do something like the second option. I have an external application which can talk to the Tigase Server. And I want some component to listen on a particular port, so that I can receive the BareJID and change the user's presence by logging in as a virtual resource.

Any help would be highly appreciated.

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.