function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BonaaBonaa 

Chatter user availablity through APEX

Hi

 

I want to know, how we can find  the users available status in chatter through apex

 

 

Thanks

 

 

Sonam_SFDCSonam_SFDC

Don't think this would be possible as this is a chatter messenger feature which is not yet open with APIs exposed for integration.

 

But yes, will confirm and let you know if otherwise

digamber.prasaddigamber.prasad

Hi,

 

You can use below rest api to access information related to user. This detail have 'UserStatus' as well.

 

/chatter/users/<useId>

 

Let me know if you have any question.

Sonam_SFDCSonam_SFDC

Hi Digamber,

 

I checked thru workbench using Chatter REST API and am not able to find the parameter you asked to check for user Status {UserStatus} as metioned above:

/services/data/v29.0/chatter/users/00590000000hdqn

 

Could you please specify a way to crosscheck.. 

alouie_sfdcalouie_sfdc
The user's chat status (online, idle, offline) is not available in the API. The deprecated user status resource (/chatter/users/me/status) was for something else.