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
swarnavaswarnava 

ConnectApi.ChatterFeeds.getLikesForComment is returning resource not found exception

I am writing a trigger which call ConnectApi.ChatterFeeds.getLikesForComment to get likes for a comment.But getting 
ConnectApi.NotFoundException: Resource not found error.Please help.