Comment
A comment on a post, or a reply to another comment
Required scopes: read:network, write:comments, host:read:network (any one)
CommentImplements
Fields
File attachments (images, documents, audio, video)
HTML content with semantic mention and hashtag anchors; internal classes and attributes are stripped on external API surfaces
Plain text content with HTML stripped
Nesting depth within the thread — 1 for a root comment, 2 or more for a reply
Link-preview metadata — populated for comments containing a link
ID of the object.
The post this comment belongs to
Emoji reaction counts grouped by base emoji (skin-tone modifiers are stripped server-side).
Threaded replies to this comment
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Parent comment (null for root comments)
Whether a reply can still be added under this comment. False once the thread reaches its maximum depth
Resource ID for this object, for interop with the Admin API.
Canonical URL of the comment within the Network. Null for a comment on something other than a post, such as a member's welcome thread