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
KevinG514KevinG514 

way to get @Person data

If i have a user posting a message to another user, the comment looks like "ABC to XYZ: What's up?"

 

When i query the posts through the api, i can find the information for who sent it (ABC) and what they said (What's up?) but i can't find where that message was posted to.  Anyone know what field i'm overlooking that has that data?
Thanks

gm_sfdc_powerdegm_sfdc_powerde

The entity or the user being targeted is stored as parent field on FeedPost.  Try FeedPost.ParentId to get the user id being targeted or just FeedPost.Parent.Name if you just want to get the name (XYZ in your case)