This documentation is archived and is not being maintained.

SP.Social.SocialFeedManager.getPreview Method (sp.userprofiles)

SharePoint 2013

Generates an attachment that can be used to preview the link item, if preview data exists.

Last modified: June 25, 2013

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Social.SocialFeedManager.getPreview(itemUrl)

itemUrl

String
The URL of the item to generate a preview for.

SP.Social.SocialAttachment
An attachment that can be used to preview the link item, if preview data exists.

Show: