Chatter in Apex
Examples
Use these examples to perform common tasks with
Chatter in Apex
.
Get Feed Elements From a Feed
Get Feed Elements From Another User’s Feed
Get Community-Specific Feed Elements from a Feed
Post a Feed Element
Post a Feed Element with a Mention
Post a Feed Element with Existing Content
Post a Rich-Text Feed Element with Inline Image
Post a Feed Element with a New File (Binary) Attachment
Post a Batch of Feed Elements
Post a Batch of Feed Elements with New (Binary) Files
Define an Action Link and Post with a Feed Element
Define an Action Link in a Template and Post with a Feed Element
Edit a Feed Element
Edit a Question Title and Post
Like a Feed Element
Bookmark a Feed Element
Share a Feed Element
Share a Feed Element and Add a Comment
Post a Comment
Post a Comment with a Mention
Post a Comment with an Existing File
Post a Comment with a New File
Edit a Comment
Follow a Record
Unfollow a Record
Previous
Next