Newer Version Available

This content describes an older version of this product. View Latest

Bookmark a Feed Element

This example calls updateFeedElementBookmarks(communityId, feedElementId, isBookmarkedByCurrentUser) to bookmark a feed element.
1swfobject.registerObject("clippy.codeblock-0", "9");
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17ConnectApi.BookmarksCapability bookmark = ConnectApi.ChatterFeeds.updateFeedElementBookmarks(null, '0D5D0000000KuGh', true);