You need to sign in to do that
Don't have an account?
PhillipPDX
Chatter API Documentation?
Is there any documentation available for the new Chatter API? If so, I would appreciate any information that you can provide.
Thanks,
Phillip
All Answers
Version 18.0 of the WebServices API documentation has details of the new objects and their properties. The methods are the same as other SObjects.
Here is a link to the documentation of the FeedPost object, from there you can get to the other new objects:
http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_objects_feedpost.htm
Unfortunately, some of the API documentation for the new objects is wrong so the best way to find the properties and relationships for the new objects is to use SoqlXplorer.
There is technically no API to speak of. Chatter is a collection of Objects. The recipe article is good, but you may want to start by checking out the Intro to Chatter article which describes the object model and how they are used when developing Chatter apps.
Was there a specific question you were trying to get answered though? Perhaps I can help there.
Is there a way to follow/unfollow an object/people programatically? If so, could you plz hint me few lines of code...
thnx in advance...
Yes, the EntitySubscription object is key. Check out recipe #3&4 in the Chatter Code Recipes article. All you need to do is insert the record/userid as the parentId and yourself (or another userid) in the subscriberid field to follow:
http://wiki.developerforce.com/index.php/Chatter_Code_Recipes