コメントの投稿
この例では、postCommentToFeedElement(communityId, feedElementId, text) をコールしてフィード要素にプレーンテキストのコメントを投稿します。
1swfobject.registerObject("clippy.codeblock-0", "9");
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17ConnectApi.Comment comment = ConnectApi.ChatterFeeds.postCommentToFeedElement(null, '0D5D0000000KuGh', 'I agree with the proposal.' );