Trending Topics
ユーザが投稿やコメントの中で特定のトピックを追加したり、同じトピックの投稿にコメントしたりいいね! と言う頻度が短時間で高くなるほど、トレンドトピックになる可能性が高まります。たとえば、同僚が近々 Dreamforce の会議に出席することになっており、Chatter でそれについての議論を開始すると、「Dreamforce」がトピックのトレンドとして表示されます。トピックのトレンドは、人気度のみに基づくのではなく、通常は、会議やプロジェクトの期限など、活動の急な増加を伴う、頻繁には行われない 1 回限りの行動に関連するトピックが表示されます。
- リソース
-
1/connect/topics/trending1/connect/communities/communityId/topics/trending - 適用開始バージョン
- 29.0
バージョン 24.0 ~ 28.0 では、/chatter/topics/trending および /connect/communities/communityId/chatter/topics/trending を使用します。
- Chatter が必要かどうか
- いいえ
- HTTP メソッド
- GET または HEAD
- 要求のパラメータ
- レスポンスボディ
- Topic Collection
- レスポンスボディの例 (バージョン 28.0 以降)。
-
1{"currentPageUrl" : "/services/data/v52.0/connect/topics/trending?maxResults=5", 2"nextPageUrl" : null, 3"topics" : [ 4 { 5 "createdDate": "2013-01-01T20:43:31.000Z", 6 "id" : "0TOD0000000090qOAA", 7 "description" : "Application Programming Interface", 8 "talkingAbout" : 527, 9 "name" : "API", 10 "url": "/services/data/v52.0/connect/topics/0TOD0000000090qOAA" 11 }, 12 { 13 "createdDate": "2012-11-14T05:24:23.000Z", 14 "id" : "0TOD000000006RxOAI", 15 "description" : "The cloud computing event of the year.", 16 "talkingAbout" : 424, 17 "name" : "Dreamforce", 18 "url": "/services/data/v52.0/connect/topics/0TOD000000006RxOAI" 19 }, 20 { 21 "createdDate": "2013-02-25T10:47:51.000Z", 22 "id" : "0TOD0000000090rOAA", 23 "description" : "All things related to mobile.", 24 "talkingAbout" : 87, 25 "name" : "Mobile", 26 "url": "/services/data/v52.0/connect/topics/0TOD0000000090rOAA" 27 } 28]} - レスポンスボディの例 (バージョン 24.0 ~ 27.0)
-
1{"topics" : [ 2 { 3 "name" : "#API" 4 }, 5 { 6 "name" : "#Dreamforce" 7 }, 8 { 9 "name" : "#Mobile" 10 } 11]}