Follow person or content
documentedFollow a user or content item.
GET {site_url}/_api/social.following/followSocialno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$site_url}}/_api/social.following/follow" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json;odata=verbose" \
-H "Content-Type: application/json;odata=verbose" \
-d '{"actor": {"__metadata": {"type": "SP.Social.SocialActorInfo"}, "ActorType": {{$actor_type}}, "AccountName": "{{$account_name}}", "ContentUri": "{{$content_uri}}"}}'