Newer Version Available

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

Feed Item

The type property always returns all types, regardless of version. However, not all types are valid with all versions. Use the attachment property to verify the type of feed item. For example, for a type of PollPost, if the version is earlier than 26.0, attachment is null. Use the text property to properly render any unknown feed item types.
Property Type Description Filter Group and Version Available Version
actor Depends on parent The entity that created the feed item. Values are:

If the actor is a user, a User Summary response body is returned, not a Record Summary of type user.

Note

Small, 29.0
attachment Depends on type Depends on the type value of the attachment. Values include: Medium, 29.0
body Feed Body Information about the feed item.

In API versions 29.0 and later, the text property of the Feed Body response body can be null, which means you can’t use it as the default case for rendering text. Instead, use the text property of the Feed Item Preamble Message Body response body because it can’t be null.

Small, 29.0 23.0
canShare Boolean true if feed item can be shared, false otherwise Medium, 29.0 27.0
clientInfo ClientInfo Information about the Connected App used to authenticate the connection Medium, 29.0 23.0
comments Comment Page Comments for this feed item Small, 29.0 23.0
createdDate String ISO8601 date string, for example, 2011-02-25T18:24:31.000Z Small, 29.0 23.0
currentUserLike Reference

This property is no longer available as of version 24.0. Use the myLike property instead.

Note

A reference to a like object if applicable, null otherwise.
23.0–24.0
event Boolean true if feed item created due to an event change, false otherwise Medium, 29.0 23.0
id String 18-character ID of the feed item Small, 29.0 23.0
isBookmarked​ByCurrentUser Boolean true if the current user has bookmarked this feed item, false otherwise Medium, 29.0 24.0
isDelete​Restricted Boolean Returns true if a feed item cannot be deleted by the logged in user. If it returns false, possibly the logged in users can delete the feed item. Medium, 29.0 25.0
isLikedBy​CurrentUser Boolean true if the current user has liked this feed item, false otherwise Medium, 29.0 23.0
likes Like Page Likes for this feed item Medium, 29.0 23.0
likesMessage Like Message Body A message body that describes who likes the feed item Small, 29.0 27.0
myLike Reference If the logged-in user has liked the comment, this property is a reference to the specific like, null otherwise Medium, 29.0 23.0
modifiedDate String ISO8601 date string, for example, 2011-02-25T18:24:31.000Z Small, 29.0 23.0
moderationFlags Moderation Flags Flags for this feed item. Community moderators can view and take action on flagged items.

If the communityModeration property of the Features response body is false, this property is null.

Big, 29.0 29.0
originalFeedItem Reference A reference to the original feed item if this feed item is a shared feed item, null otherwise Small, 29.0 24.0
originalFeed​ItemActor Depends on type Value depends on type of original feed item. Values are: Medium, 29.0 24.0
parent Depends on type Value depends on type of parent. Values are:

If the parent is a user, a User Summary response body is returned, not a Record Summary of type user. The same applies for both groups and files.

Note

Medium, 29.0 23.0
photoUrl String URL of the photo associated with the feed item Medium, 29.0 23.0
preamble Feed Item Preamble Message Body The preamble is the title of the post. This property contains renderable plain text for all the segments of the message, for example, “App Builders - Pam Jones”.

In API versions 29.0 and later, the text property of the Feed Body response body can be null, which means you can’t use it as the default case for rendering text. Instead, use the text property of the Feed Item Preamble Message Body response body because it can’t be null.

Medium, 29.0 27.0
relative​CreatedDate String ISO8601 date string, for example, 2011-02-25T18:24:31.000Z Small, 29.0 28.0
topics Feed Item Topics Topics for this feed item Medium, 29.0 28.0
type String Values are:
  • ActivityEvent—Feed item generated in Case Feed when an event or task associated with a parent record with a feed enabled is created or updated.
  • ApprovalPost—Feed item with an approval action attachment. Approvers can act on the feed item parent.
  • AttachArticleEvent—Feed item generated when an article is attached to a case in Case Feed.
  • BasicTemplateFeedItem—Feed item with a standard rendering containing an attachment with an image, link, and title.
  • CallLogPost—Feed item generated when a call log is saved to a case in Case Feed.
  • CanvasPost—Feed item generated by a canvas app in the publisher or from Chatter REST API or Chatter in Apex. The post itself is a link to a canvas app.
  • CaseCommentPost—Feed item generated when a case comment is saved in Case Feed.
  • ChangeStatusPost—Feed item generated when the status of a case is changed in Case Feed.
  • ChatTranscriptionPost—Feed item generated in Case Feed when a Live Agent chat transcript is saved to a case.
  • CollaborationGroupCreated—Feed item generated when a new group is created. Contains a link to the new group.
  • CollaborationGroupUnarchived—Do not use. Feed item generated when an archived group is activated.
  • ContentPost—Feed item with a file attachment.
  • CreateRecordEvent—Feed item that describes a record created in the publisher.
  • DashboardComponentAlert—Feed item with a dashboard alert attachment.
  • DashboardComponentSnapshot—Feed item with a dashboard snapshot attachment.
  • EmailMessageEvent—Feed item generated when an email is sent from a case in Case Feed.
  • FacebookPost—Feed item generated when a Facebook post is created from a case in Case Feed.
  • LinkPost—Feed item with a hyperlink attachment
  • MilestoneEvent—Feed item generated when a case milestone is either completed or reaches a violation status. Contains a link to the case milestone.
  • PollPost—Feed item with an actionable poll attachment. Viewers of the feed item are allowed to vote on the options in the poll.
  • ReplyPost—Feed item generated by a Chatter Answers reply.
  • RypplePost—Feed item generated when a Thanks badge is created.
  • TextPost—Feed item without an attachment.
  • TrackedChange—Feed item created when one or more fields on a record have been changed.
  • SocialPost—Feed item generated when a social post is created from a case in Case Feed.
  • UserStatus

    Deprecated. A user's post to their own profile.

Small, 29.0 23.0
url String URL to this feed item Small, 29.0 23.0
visibility String Who can see this feed item. Values are:
  • InternalUsers—If Communities is enabled, only members of the default, internal community can see the feed item.
  • AllUsers—If Communities is enabled, all members of the community can see the feed item.
Small, 29.0 26.0