3.1.5.37.2.1.1 Follow

Return Type: Microsoft.SharePoint.Client.Social.SocialFollowResult

The Follow method adds the specified actor to the current user's list of followed actors. For details on the SocialFollowResult type, see section 3.1.5.23.

Parameters:

actor: An object that specifies the actor to be added.

Type: Microsoft.SharePoint.Client.Social.SocialActorInfo

For details on the SocialActorInfo type, see section 3.1.5.3.

For example, the following REST HTTP_POST message calls the Follow resource.

 http://my.contoso.com/_api/social.following/Follow 

The following is an example of the entity body for this message:

 { 
  'actor':{ 
    '__metadata':{ 
     'type':'SP.Social.SocialActorInfo'
       },
'AccountName':contoso.com\\evacorets'',
'ActorType':0,
'ContentUri':'http://my.contoso.com/evacorets',
'Id':null,
'TagGuid':'ff24780e-a35c-4d31-ae52-54afbb49ec6c' 
   } 
 }