SPSocialFeedManager.LikePost(String) SPSocialFeedManager.LikePost(String) SPSocialFeedManager.LikePost(String) Method

Definition

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

public:
 Microsoft::Office::Server::Social::SPSocialThread ^ LikePost(System::String ^ postId);
[Microsoft.SharePoint.Client.ClientCallable]
public Microsoft.Office.Server.Social.SPSocialThread LikePost (string postId);
Public Function LikePost (postId As String) As SPSocialThread
Parameters
postId
String String String

The unique identifier of the post to like.

Returns

A digest of the modified thread that includes the specified post.

Applies to