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

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

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

SP.Social.SocialFeedManager.getPreview(itemUrl)

Parameters

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

Return value

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

See also

Other resources

SocialFeedManager