Social object library for JavaScript
Find information about JavaScript in SharePoint 2013 that you can use to add sharing and social features to farm solutions and apps for SharePoint.
Applies to: SharePoint Foundation 2013 | SharePoint Server 2013
This JavaScript object library reference contains information that you can use to add sharing and social features to farm solutions and apps for SharePoint. JavaScript in SharePoint 2013 is derived from the .NET server programming model, and the programming capabilities that are defined here reflect those found in the original .NET server source.
Social object library for JavaScript in SharePoint 2013
SP.Social namespace (sp.userprofiles) Contains objects used to access feed features and following features.
SP.UserProfiles namespace (sp.userprofiles) Contains objects used to access user profiles and user properties.
Note
For more information about using the APIs in the Social namespace and the UserProfiles namespace, see Work with social feeds in SharePoint 2013, Follow people in SharePoint 2013, Follow content in SharePoint 2013, and Work with user profiles in SharePoint 2013.