Share via


SocialFeedManager.UnlikePost method

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

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

Syntax

'Declaration
Public Function UnlikePost ( _
    postId As String _
) As ClientResult(Of SocialThread)
'Usage
Dim instance As SocialFeedManager
Dim postId As String
Dim returnValue As ClientResult(Of SocialThread)

returnValue = instance.UnlikePost(postId)
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.

See also

Reference

SocialFeedManager class

SocialFeedManager members

Microsoft.SharePoint.Client.Social namespace