+ 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.