You need to sign in to do that
Don't have an account?
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.
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.