SPSocialFeedManager.LikePost method
SharePoint 2013
Makes the current user a liker of the specified microblog post.
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Parameters
- postId
- Type: System.String
The unique identifier of the post to like.
Return value
Type: Microsoft.Office.Server.Social.SPSocialThreadA digest of the modified thread that includes the specified post.