Adding Chatter FeedPosts vs. User Status updates with Apex | Salesforce Developers Blog

One of the questions which has come up pretty often in regards to writing Chatter applications is: what is the difference between adding a feedpost, and updating my user status? Many developers have seen that, if they query the FeedPost object, a user status is a FeedPost of type 'User Status' (for further discussions of FeedTypes, check out the Introduction to Chatter article) . 

The platform, however, does not allow you to insert a FeedPost of type UserStatus directly, a User Status update must be performed by updating the User.currentStatus field. To make it easier, I put together a quick video to demonstrate the differences in creating a FeedPost vs. a User Status. 

Stay up to date with the latest news from the Salesforce Developers Blog

Subscribe