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. Medium, 29.0 24.0
body Feed Body Message body for the comment Small, 29.0 23.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
feedItem Reference Information about the feed item for the comment Medium, 29.0 23.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 logged-in user. If it returns false, possibly the logged-in 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 logged-in 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