Comment on page
User Activity
Tracking user activity when users perform actions on posts or comments. The API tracks the following actions:
- Reactions to the post
- Comments to the post
- Reactions to the comment
- Replies to the comment
- Remove reactions or comments
User Activity is currently in Private Beta. Please submit your request to the Amity Help Center to enable this feature. It will take approximately 5 business days to process your request.
get
https://beta.amity.services/
user-activities
Retrieve activities of user's actions
curl --location --request GET 'https://beta.amity.services/user-activities?
networkId_userId=<networkId_userId>&createdAt=<createdAt>&limit=10' \
--header 'Authorization: Bearer <ACCESSTOKEN>'
The following table shows the supported scenarios and user actions that are recorded in the User Activity Record
Scenario | Target | Object | Parent |
---|---|---|---|
User reacted to Post A | Post A | reaction_<type> | Post A |
User commented to Post A | Post A | comment | Post A |
User reacted to Comment A under Post A | Comment A | reaction_<type> | Post A |
User reacted to Comment B under Post B | Comment B | reaction_<type> | Post B |
User commented to Comment B under Post B | Comment B | comment | Post B |
Last modified 7mo ago