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
Monish Mahalingam 13Monish Mahalingam 13 

Chatter Bookmarks

How to display chatter bookmarks in custom Visual Force page. I searched for the connect API methods but I can't find the exact one. So please update me with the connect API methods.


User-added image
NagaNaga (Salesforce Developers) 
Hi Monish,

Please see the link below

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ConnectAPI_ChatterFeeds_static_methods.htm#apex_ConnectAPI_ChatterFeeds_getFeedElementsFromFeed_2

Set the feedType to  ConnectApi.FeedType.Bookmarks and the subjectId set to 'me' (since you can only request the bookmarks feed of the current, logged-in user).

Best Regards
Naga kiran