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
Nejib Essouri 8Nejib Essouri 8 

How to Get all comments from FeedItem using connectAPI

I am using ConnectApi.ChatterFeeds.getFeedItemsFromFeed to retrieve posts/Comments from Cases. But in feedItems,
by default only 3 comments are being displayed. I want to display all the comments for each post, using 'Show More' link, similar to out of the box salesforce feature. And i see that method ConnectApi.ChatterFeeds.getFeedItemsFromFeed was removed after version 31.0. Any help please ?