SP.Social.SocialLink object (sp.userprofiles)

Represents a link to the source of a microblog post.

You can use a SocialLink to specify the source for a post in the SocialPostCreationData.source property.

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

var object = new SP.Social.SocialLink()

Members

The SocialLink object has the following members.

Constructor

The SocialLink object has the following constructor.

Constructor

Description

SocialLink

Initializes a new instance of a SocialLink object.

Methods

The SocialLink object has the following methods.

Method

Description

initPropertiesFromJson

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

writeToXml

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

Properties

The SocialLink object has the following properties.

Property

Description

text

Gets or sets the link's display text.

typeId

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

uri

Gets or sets the link's URI.

See also

Other resources

SP.Social namespace