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
dig_ycdcdig_ycdc 

Share a feed using REST API, but it's not creating comment

Hi All,

 

I am sharing a feed-item using below REST URI:-

 

/services/data/v26.0/chatter/feeds/user-profile/me/feed-items?originalFeedItemId=<originalFeedItemId>&text=<shareComment>

 

It is posting a new feed as share, but its not creating any comment on new feed.

 

Any help is highly appreciated!!

 

Thanks!

ChrisOctagonChrisOctagon

I don't follow, the UI doesn't add new comments to old feed items when they are shared either...

dig_ycdcdig_ycdc
Thanks for your reply!
Sorry about confusion, I meant if user share a feed and add comment, new feed created will have a new comment ( which will come from comment entered by user while sharing).

Hope this make sense!

Thanks!
ChrisOctagonChrisOctagon

Thanks for pointing this out, it looks like a bug. I will try and get the api in sync with the web UI in a future version.