Reply
Visitor
FCBill
Posts: 1
0

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

 

Contributor
alouie
Posts: 8
0

Re: Chatter Notifications via API

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

 

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!