Retrieve and filter comments with advanced querying, pagination, real-time updates, and comprehensive threading support
Reference Type | Description | Use Cases |
---|---|---|
post | Comments on regular posts | Social media feeds, blog posts, news articles |
story | Comments on story content | Temporary content, social stories |
content | Comments on specialized content | Media galleries, documents, custom content |
Parameter | Type | Description |
---|---|---|
referenceId | String | ID of the content being commented on (post, story, etc.) |
referenceType | Enum | Type of content (.post, .story, .content) |
parentId | String? | Filter by parent comment ID (null for top-level comments) |
includeDeleted | Boolean | Whether to include deleted comments in results |
dataTypes | Array | Filter by comment content types (text, image, etc.) |
parentId
to null:
dataTypes
parameter:
Filter Type | Description | Example Use Case |
---|---|---|
any | Comments containing at least one specified type | Show comments with images OR text |
exact | Comments containing all specified types | Show comments with images AND text |