Newer Version Available

This content describes an older version of this product. View Latest

Comment

Property Type Description Filter Group and Version Available Version
attachment Depends on type of comment If the comment does not contain an attachment or if the attachment, returns null. Otherwise, returns Feed Item Attachment: Content.

As of verson 32.0, use the capabilities property.

Important

Medium, 29.0 24.0-31.0
body Feed Item Body Message body for the comment Small, 29.0 23.0
capabilities Comment Capabilities Capabilities associated with the comment. Medium, 32.0 32.0
clientInfo ClientInfo Information about the connected app used to authenticate the connection Medium, 29.0 23.0
createdDate String ISO8601 date string, for example, 2011-02-25T18:24:31.000Z Small, 29.0 23.0
feedElement Reference The feed element on which the comment is posted. Medium, 32.0 32.0
feedItem Reference The feed item on which the comment is posted.

As of version 32.0, use the feedElement property.

Important

Medium, 29.0 23.0-31.0
id String 18-character ID of the comment Small, 29.0 23.0
isDeletable Boolean

This property is no longer available as of version 25.0. Use the isDeleteRestricted property instead.

Note

Specifies if the context user can delete the comment
23.0–24.0
isDelete​Restricted Boolean Returns true if a comment cannot be deleted by the context user. If it returns false, possibly the context user can delete the comment. Medium, 29.0 25.0
likes Like Page Page of likes associated with the comment Medium, 29.0 24.0
likes​Message Like Message Body A message body that describes who likes the comment. Medium, 29.0 27.0
myLike Reference If the context user has liked the comment, returns a reference to that like or returns null Medium, 29.0 23.0
parent Reference Information about the parent of the feed-item associated with this comment Big, 29.0 23.0
relative​CreatedDate String The created date formatted as a relative, localized string, for example, “17m ago” or “Yesterday.” Medium, 29.0 28.0
type String Indicates the type of comment. Valid values are:
  • ContentComment—the comment contains an attachment
  • TextComment—the comment contains only text
Small, 29.0 24.0
url String URL to this comment Small, 29.0 23.0
user User Summary Information about the comment author Small, 29.0 23.0