SPSocialFeedManager SPSocialFeedManager SPSocialFeedManager Class

Definition

Provides methods for creating microblog posts, modifying threads, and consuming feeds.

public ref class SPSocialFeedManager
[Microsoft.SharePoint.Client.ClientCallableType(Name="SocialFeedManager", ServerTypeId="C32F5230-2ED0-48FA-AC80-E2FFA22E3D28")]
public class SPSocialFeedManager
Public Class SPSocialFeedManager
Inheritance
SPSocialFeedManagerSPSocialFeedManagerSPSocialFeedManager
Attributes
Microsoft.SharePoint.Client.ClientCallableTypeAttribute

Remarks

For more information about how to work with feeds, see Work with social feeds in SharePoint 2013.

Constructors

SPSocialFeedManager() SPSocialFeedManager() SPSocialFeedManager()

Initializes a new instance of the SPSocialFeedManager class.

SPSocialFeedManager(UserProfile) SPSocialFeedManager(UserProfile) SPSocialFeedManager(UserProfile)

Initializes a new instance of the SPSocialFeedManager class for the specified user.

SPSocialFeedManager(UserProfile, SPServiceContext) SPSocialFeedManager(UserProfile, SPServiceContext) SPSocialFeedManager(UserProfile, SPServiceContext)

Initializes a new instance of the SPSocialFeedManager class for the specified user and service context.

SPSocialFeedManager(UserProfile, SPServiceContext, SPUserToken) SPSocialFeedManager(UserProfile, SPServiceContext, SPUserToken) SPSocialFeedManager(UserProfile, SPServiceContext, SPUserToken)

Initializes a new instance of the SPSocialFeedManager class with the specified user, service context, and authentication token.

Properties

FollowingManager FollowingManager FollowingManager

Gets an SPSocialFollowingManager object in the context of the current user.

Owner Owner Owner

Gets an SPSocialActor object that represents the current user.

PersonalSitePortalUri PersonalSitePortalUri PersonalSitePortalUri

Gets the URI of the default personal site portal for the current user.

Methods

CreateImageAttachment(String, String, Stream) CreateImageAttachment(String, String, Stream) CreateImageAttachment(String, String, Stream)

Generates an image attachment for a microblog post.

CreatePost(String, SPSocialPostCreationData) CreatePost(String, SPSocialPostCreationData) CreatePost(String, SPSocialPostCreationData)

Creates a microblog post or reply.

DeletePost(String) DeletePost(String) DeletePost(String)

Deletes the specified microblog post.

GetAllLikers(String) GetAllLikers(String) GetAllLikers(String)

Retrieves the unabbreviated liker information for the specified microblog post.

GetFeed(SPSocialFeedType, SPSocialFeedOptions) GetFeed(SPSocialFeedType, SPSocialFeedOptions) GetFeed(SPSocialFeedType, SPSocialFeedOptions)

Gets a feed of activity by the current user, and optionally by followed people and content or by the user's organization.

GetFeedFor(String, SPSocialFeedOptions) GetFeedFor(String, SPSocialFeedOptions) GetFeedFor(String, SPSocialFeedOptions)

Gets a feed of activity by the specified user or team site.

GetFullThread(String) GetFullThread(String) GetFullThread(String)

Retrieves the specified thread with unabbreviated post and actor information.

GetMentions(Boolean, SPSocialFeedOptions) GetMentions(Boolean, SPSocialFeedOptions) GetMentions(Boolean, SPSocialFeedOptions)

Gets a feed of threads that mention the current user.

GetPreview(String) GetPreview(String) GetPreview(String)

Generates a video attachment for a microblog post.

GetPreviewImage(String, String, String) GetPreviewImage(String, String, String) GetPreviewImage(String, String, String)

This member is reserved for internal use and is not intended to be used directly from your code.

GetUnreadMentionCount() GetUnreadMentionCount() GetUnreadMentionCount()

Gets the count of unread mentions for the current user.

LikePost(String) LikePost(String) LikePost(String)

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

LockThread(String) LockThread(String) LockThread(String)

Locks the specified thread.

SuppressThreadNotifications(String) SuppressThreadNotifications(String) SuppressThreadNotifications(String)

Suppresses activity notifications for the specified thread.

UnlikePost(String) UnlikePost(String) UnlikePost(String)

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

UnlockThread(String) UnlockThread(String) UnlockThread(String)

Unlocks the specified thread.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to