SP.Social.SocialAttachment constructor (sp.userprofiles)
Initializes a new instance of a SocialAttachment object.
Last modified: August 21, 2013
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
To create a video or document attachment for a microblog post, use the SocialFeedManager.GetPreview method, which returns a provisioned attachment object. See How to: Embed images, videos, and documents in posts in SharePoint Server 2013.