After I woke up from my turkey-induced coma on Thanksgiving I wanted to send Chatter to everyone in our Appirio Salesforce org to inform them that I was still alive.
Sure, I could have fired up the trusty, ole Chatter app but since I like to work from the command line, I decided to write a Chatter API plugin for my buddy Kevin O'Hara's #awesome nforce node.js package.
Github repo: https://github.com/jeffdonthemic/nforce-chatter
I wrote a nforce-tooling plugin for nforce earlier this year and adding another plugin was a snap! One caveat, the Chatter API is #huge so I've only implemented a few methods so far. The plugin is a work in progress so pull requests are welcome!
See the repo for full details, but here's a quick rundown on the 0.0.1 functionality:
Returns Chatter statistics for a salesforce user.
id: Required. The id of the user to return statistics for.
Returns the context user's news feed.
Returns the feed for a specified record.
id: Required. The id of the record to return the feed for.
Returns the feed for a specified group.
id: Required. The id of the group to return the feed for.
Posts a new feeditem for a record.
id: Required. The ID of the parent this feed element is being posted to. This value can be the ID of a user, group, or record, or the string me to indicate the context user.
text: Required. The text of the post.
Posts a new comment on a feeditem.
id: Required. The id of the feeditem to post the comment
text: Required. The text of the comment.
Likes the specified feeditem.
id: Required. The id of the feeditem to like.