0
votes

I need to create small auxiliary server that is part/integrates with OpenFire server in order to get roster for a given user.

I was looking for some plugin/api call that given the user JID to return his contacts and their online status.

All-in-all I may end up changing OpenFire's code but I was hoping that there is a easier solution

2

2 Answers

1
votes

All though the links provided by Manasi would work for you. However those links refers to user service plugin which has been depricated by openfire.

They recommend to use REST API plugin.

You'll see list of all plugins here.

You should read about retrieving user roster and their presence .

1
votes

You could try using the user service plugin of openfire that returns a host of information of the user as well as its rosters.

for documentation click here.

You can get the roster information by this url.