共用方式為


SP.社交命名空間 (sp.userprofiles)

SP.Social命名空間中使用SocialFeedManagerSocialFollowingManager,以及其他物件互動社交摘要及追蹤人員和內容從SharePoint Server 2013和SharePoint Add-ins的自訂解決方案。

**前次修改時間:**2015年3月9日

**適用於:**apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

成員

在 SP. SP.Social命名空間UserProfiles.js JavaScript文件庫包含下列公用物件及列舉。

物件

物件

描述

SocialActor

Represents a user, document, site, or tag in social feed and following activities.

SocialActorInfo

Identifies a user, document, site, or tag in client-side requests for social feed and following activities.

SocialAttachment

Represents an image, video, or document in a microblog post.

SocialAttachmentAction

Represents the click action for an attachment in a microblog post.

SocialDataItem

Represents a link to a document, site, or website, a user mention, or a tag reference in a microblog post.

SocialDataOverlay

Associates a substring of a microblog post's text with a URI or other data. Used for rendering post content.

SocialExceptionDetails

Represents error information for a social operation.

SocialFeed

Represents a social feed.

SocialFeedManager

Provides methods for creating posts, modifying threads, and accessing social feeds.

SocialFeedOptions

Represents options that you can specify when retrieving a feed.

SocialFollowingManager

Provides methods for managing a user's list of followed actors (users, documents, sites, and tags).

SocialLink

Represents a link to the source of a microblog post.

SocialPost

Represents a microblog post.

SocialPostActorInfo

Represents a set of actors that relate to a microblog post in a particular way, such as the likers of a post.

SocialPostCreationData

Represents content and related information for a new microblog post.

SocialPostReference

Represents a referenced post in an external thread.

SocialThread

Represents a thread in a social feed.

列舉

列舉

描述

SocialActorType

Specifies a SocialActor type.

SocialActorTypes

Specifies a set of SocialActor types.

SocialAttachmentActionKind

Specifies the type of action that a SocialAttachmentAction performs.

SocialAttachmentKind

Specifies the type of SocialAttachment in a microblog post.

SocialDataItemType

Represents the type of SocialDataItem link.

SocialDataOverlayType

Specifies the type of data for a SocialDataOverlay object.

SocialFeedAttributes

Specifies attributes that apply to a SocialFeed object.

SocialFeedSortOrder

Specifies the sort order for the threads in a social feed.

SocialFeedType

Specifies a SocialFeed type.

SocialPostAttributes

Specifies attributes that apply to a SocialPost object.

SocialPostType

Specifies a SocialPost type.

SocialStatusCode

Specifies an exception or status code.

SocialThreadAttributes

Specifies attributes that apply to a SocialThread object.

SocialThreadType

Specifies the type of thread in the SocialThread.ThreadType property.

在 SP.內部 API社交命名空間

從SP.Social命名空間的下列項目是因為它們僅限內部使用移除此參考 (英文) 並不適合直接從您的程式碼內直接使用:

  • SocialPostDefinitionData物件、 SocialPostDefinitionDataItem物件及SocialPostDefinitionDataItemType列舉

  • initPropertiesFromJson方法、 writeToXml方法、 newObject方法及typeId屬性

  • **<Object>**PropertyNames物件

請參閱

其他資源

SharePoint User Profiles JavaScript Reference (sp.userprofiles.js)

在 SharePoint 2013 使用社交摘要

在 SharePoint 2013 追蹤人員

在 SharePoint 2013 追蹤內容