Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FeedItem postItem = new FeedItem();
postItem.ParentId = 'SOME_TEST_ID';
postItem.Type = 'TextPost';
postItem.Title = 'Hello World! ';
postItem.Body = 'This is my test';
insert postItem;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment