Opigno Enterprise API provides possibility to add “like” reactions to posts and comments. The information about user contexts who “liked” the given post can be retrieved by callingDocumentation Index
Fetch the complete documentation index at: https://docs.opigno.com/llms.txt
Use this file to discover all available pages before exploring further.
getPostLikes query.
The following arguments can be used in the query:
| Argument | Type | Description | Default |
|---|---|---|---|
postId | Int | Required. The post ID to get the related comments. | — |
after | Cursor | Returns results that come after the specified cursor. Should be used together with first parameter. Cannot be used if before is set. | — |
before | Cursor | Returns results that come before the specified cursor. Should be used together with last parameter. Cannot be used if after is set. | — |
first | Integer | Returns up to the first N elements from the list. Required if after parameter is set. Cannot be used together with last. | — |
last | Integer | Returns up to the first N elements from the list. Required if before parameter is set. Cannot be used together with first. | — |
reverse | Boolean | Allows to change the order of the sorting to DESC. | false |
sortKey | LikeSortKey | Allows to change the sorting key of the query. Available options: CREATED or USER_NAME (allows to sort by the user context name). | CREATED |