Single Comment
Fetch individual comments by ID with live object updates
Multiple Comments
Retrieve multiple comments efficiently with batch operations
Live Objects
Real-time synchronization with automatic updates
Comments are returned as live objects, which automatically update when the underlying data changes. For more information, refer to the Live Objects/Collections documentation.
Comment Properties
When you retrieve a comment, you get access to various properties and metadata.Property | Type | Description |
---|---|---|
commentId | String | Unique identifier for the comment |
userId | String | ID of the user who created the comment |
postId | String | ID of the post this comment belongs to |
parentId | String? | ID of parent comment (for replies) |
text | String? | Text content of the comment |
createdAt | Date | When the comment was created |
editedAt | Date? | When the comment was edited (if applicable) |
reactionsCount | [String: Int] | Count of reactions by type |
childrenCount | Int | Number of reply comments |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
commentId | String | Yes | Unique identifier of the comment to retrieve |