SocialFeedManager.LikePost method

SharePoint 2013

Makes the current user a liker of the specified microblog post.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public ClientResult<SocialThread> LikePost(
	string postId
)

Parameters

postId
Type: System.String

The unique identifier of the post to like.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<SocialThread>
A digest of the modified thread that includes the specified post.
Show:
© 2014 Microsoft