Newer Version Available

This content describes an older version of this product. View Latest

Post a Feed Element

This example calls postFeedElement(String, String, ConnectApi.FeedElementType, String) to post a string of text.

The second parameter, subjectId is the ID of the parent this feed element is posted to. The value can be the ID of a user, group, or record, or the string me to indicate the context user.