Follow 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=nometadata" \
-H "Content-Type: application/json;odata=nometadata" \
-H "X-SharePoint-ApiKey: {{SHAREPOINT_API_KEY}}" \
-d '{"actor":{"__metadata":{"type":"SP.Social.SocialActorInfo"},"ActorType":{{$ActorType}},"AccountName":"{{$AccountName}}","Id":null}}'