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
PremInfoPremInfo 

Post a Feed with '@' and '#'

I am using the Sobject in my application for fetching feeds from chatter. Similarly I want to post the feed with "@" mentioned and "#" links.

Please help me by providing sample code by using Sobject. 

 

Thanks,

Prem

ChrisOctagonChrisOctagon

You can embed # links just as regular text in your feed item, like "this goes to a #tag" will render correctly.

 

To include @-mentions of people, you must use the Chatter REST API.