Provides access to social feeds. It provides methods to create posts, delete posts, read posts, and perform other operations on posts.
Creates an image attachment for a future post.
Creates a post in the current user's newsfeed, in the specified user's feed, or in the specified thread. This method returns a new or a modified thread.
Optional, specifies the target of the post. If this parameter is null, the post is created as a root post in the current user's feed. If this parameter is set to a site URL or a site actor identification, the post is created as a root post in the specified site feed. If this parameter is set to a thread identification, the post is created as a reply post in the specified thread.
Specifies the format and content of the post.
boolean
Deletes the specified post. This method returns a digest of the modified thread. If the entire thread is deleted, this method returns null. If the post being deleted is the root post of a thread, all reply posts are also deleted.
Specifies the post to be deleted. Corresponds the value returned from SocialPost.get_id().
Returns the set of users who have liked the specified post.
Specifies the post being queried for information about users that like the post. Corresponds the value returned from SocialPost.get_id().
Returns a feed for the current user. The feed consists of an array of message threads. Each thread consists of a root post and an array of reply posts.
Returns the public feed for a user or for a site. The feed lists activity by the user and posts created by the server for that user. For example, the feed can include posts indicating the user's birthday or indicating that the user liked a post.
Corresponds to the value returned by SocialActor.get_id(). If the actorId specifies the current user, this method returns the public feed for the current user.
Returns the root post and all reply posts in the thread.
Returns a feed containing mention reference threads from the current user's personal feed.
Generates a preview for the content specified by the URL.
Returns the preview image data for an image attachment.
Specifies the URL of the preview image relative to the personal site portal.
Specifies the URL-encoded key to decrypt the image.
Specifies the URL-encoded initialization vector for decrypting the image.
any
Returns the server's count of unread mentions of the current user. The server maintains a count of unread mentions in posts, but does not track which mentions have been read. When a new mention is stored on the server, it increments the unread mention for the user specified by the mention. The unread mention count is cleared by the GetMentions method.
string
Returns the current user
Specifies the URI of the personal site portal.
string
boolean
boolean
boolean
Specifies that the current user likes the specified post. Returns a digest thread containing the specified post. A digest thread contains the root post and a selection of reply posts
Prevents any user from adding a new reply post to the specified thread. Once a thread is locked, no new reply posts can be added until after the thread has been unlocked with the unlockThread method. This method returns a digest of the locked thread
Suppresses activity notifications for the current user of updates to the specified thread.
Specifies that the current user does not like the specified post. Returns a digest thread containing the specified post.
Allows users to add new reply posts to the specified thread.