UnlikePost method

SocialFeedManager.UnlikePost method

SharePoint 2013

Removes the current user from the list of likers for the specified microblog post.

Namespace:  Microsoft.SharePoint.Client.Social
Assemblies:   Microsoft.SharePoint.Client.UserProfiles.Silverlight (in Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (in Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public ClientResult<SocialThread> UnlikePost(
	string postId
)

Parameters

postId
Type: System.String

The unique identifier of the post to stop liking.

Return value

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