Export (0) Print
Expand All

SPSocialFeedManager.LikePost method

SharePoint 2013

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

Namespace:  Microsoft.Office.Server.Social
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

'Declaration
PublicFunctionLikePost ( _
	postIdAsString _
) AsSPSocialThread
'Usage
DiminstanceAsSPSocialFeedManagerDimpostIdAsStringDimreturnValueAsSPSocialThreadreturnValue = instance.LikePost(postId)

Parameters

postId
Type: System.String

The unique identifier of the post to like.

Return value

Type: Microsoft.Office.Server.Social.SPSocialThread
A digest of the modified thread that includes the specified post.

Community Additions

ADD
Show:
© 2014 Microsoft