Skip to main content
Use the comment repository when you need discussions on posts, stories, or custom content. Comment creation supports text, optional image attachments, metadata, user mentions, and replies through parentId.
A reply is a normal comment with parentId set to another comment ID. There is no separate reply API in the SDK.

Comment Targets

Comment Shape

The exact property names vary by platform, but the SDK model centers on the same fields.

Creation APIs

Upload image files first, then pass the uploaded image file IDs to the comment creation API. Comment creation does not upload local files by itself.

Text Comment

Create top-level comments and replies with text

Image Comment

Create comments with uploaded image attachments

Query Comments

Query top-level comments and reply threads

Comment Actions

Edit, delete, flag, and manage comments