You need to sign in to do that
Don't have an account?

How to get bookmarked feeds in apex?
Hello Everyone,
Does anybody know how to get list of user's bookmarks via apex? can't find any appropriate object in scheme...
Thank you!
You need to sign in to do that
Don't have an account?
Hello Everyone,
Does anybody know how to get list of user's bookmarks via apex? can't find any appropriate object in scheme...
Thank you!
Use Chatter in Apex:
ConnectApi.FeedItemPage feedItemPage = ConnectApi.ChatterFeeds.getFeedItemsFromFeed(null, ConnectApi.FeedType.Bookmarks, 'me', null, null, ConnectApi.FeedSortOrder.CreatedDateDesc);
http://www.salesforce.com/us/developer/docs/apexcode/Content/connectAPI_ChatterFeedsClass.htm
All Answers
Use Chatter in Apex:
ConnectApi.FeedItemPage feedItemPage = ConnectApi.ChatterFeeds.getFeedItemsFromFeed(null, ConnectApi.FeedType.Bookmarks, 'me', null, null, ConnectApi.FeedSortOrder.CreatedDateDesc);
http://www.salesforce.com/us/developer/docs/apexcode/Content/connectAPI_ChatterFeedsClass.htm
Thanks a lot!!!