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
FCBillFCBill 

Chatter Notifications via API

I have a .NET ecommerce app that I've integrated with SF.com via the SOAP API.  Everything works great except for one thing.

 

You know how if you're Chattering you can type @Name and that person will receive an email notification?  I can't figure out how to do that via the SOAP API.  I tried including @Name and @[Name] in the FeedItem Body but that didn't work.  I even built an HTML anchor with the user's ID (I saw this in the HTML source of a Chatter page) but all that did was display the anchor as text in the Chatter item.

 

Can anyone give me any guidance on how to accomplish this?

 

Thanks,

 

Bill...

 

alouiealouie

Hi Bill,

 

It's not possible to make a Chatter post with an @mention using the SOAP API. Instead, you need to use the Chatter REST API.

 

How do I post a comment or a feed item with an @mention?

http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resources_how_to.htm#cc_post_mentions

 

News feed resource (POST to /chatter/feeds/news/me/feed-items)

http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resource_feeds_news.htm

 

Sorry for the slow reply, hope that helps!