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
manimmanim 

Java web application accessing chatter data

We have a requirement where we want to access chatter status data for users in my group on regular basis to be shown in other application.

We are using web server flow and got access token and refresh token.I save it to properties file which can only be accessed by deployer of the application.

 

Currenlty I am using my salesforce account for this.

For making this automated ,we are thinking of having a separate saleforce accout dedicated for this functionality which will follow every user in my group to have updates from them?

 

Is this the correct way to go for it?

 

 

 

forecast_is_cloudyforecast_is_cloudy

I'm assuming that you're using the Chatter REST API (http://www.salesforce.com/us/developer/docs/chatterapi/index.htm) to get the user's current status? I believe that if you log in as a System Administrator user using OAuth (i.e. a Profile that has 'Modify'Read All Data' permission), you should be able to retrieve the current status of any user using the '/chatter/users/<userId>/status' URI. You don't even have to follow those users. 

Hope this helps.