function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MiddhaMiddha 

Originally Posted By

Hi ,

 

Do we have any way in APEX, to know the relationship that is shown on chatter via "Originally Posted By". I can see the share post as a FeedItem but no clues where it stores the linkage to original feed. I am open to APEX/SOAP/REST API or any other way.

ChrisOctagonChrisOctagon

Yes, this information is exposed through the Chatter REST API (which is generally available) and Connect in Apex (which is in dev-org preview in Spring 13). Doc is here: http://www.salesforce.com/us/developer/docs/chatterapi/index.htm

 

The feed item payload or ConnectApi.FeedItem object includes "originalFeedItem" and "originalFeedItemActor" properties, which provide information about the original feed item that was shared.

Chatter ArchivingChatter Archiving
Is there any support for getting "Originally Posted By" information from SOAP API?