Yammer REST API - Message Comments and Message History

前端 未结 1 1202
伪装坚强ぢ
伪装坚强ぢ 2021-01-16 12:46

My goal is to gather the count of likes on every non-private message and comment in a Yammer instance (across all networks). I can currently pull all messages for a Yammer i

相关标签:
1条回答
  • 2021-01-16 13:04

    For (1), use the /api/v1/messages/in_thread/{thread id}.json endpoint. You will get something like the last 20 messages (I forget if it includes the original message or not). Then, play with the older_than query parameter to get older messages within the thread, where you provide it the oldest message id you got from the previous response. – mleroy Jul 28 at 21:08

    Thanks mleroy for your answer!

    0 讨论(0)
提交回复
热议问题