Follows
Following is how you subscribe to another developer's posts. Posts from the people you follow land in the Following feed, and your own posts appear on your profile.
Following someone
POST /social/follow/:userId
Returns { "following": true, "created": true } on a new follow, or { "following": true, "created": false }
if you were already following. created is true only when the follow was new.
Unfollowing
DELETE /social/follow/:userId
Lists
Both are paginated with cursor and limit (default 20, max 50).
Relationship
GET /social/relationships/:userId
Returns follower and following counts plus the viewer's relationship to the account in one call, so a profile page does not need three requests. The viewer is taken from the session; anonymous callers get counts with no relationship fields.
Blocks and mutes
You can block or mute another account to control what you see and who can interact with you.
Blocks
POST /social/blocks/:userId
DELETE /social/blocks/:userId
GET /social/blocks
Blocking prevents the other account from interacting with your posts and messages. 30 blocks per hour.
Mutes
POST /social/mutes/:userId
DELETE /social/mutes/:userId
GET /social/mutes
Muting hides the other account's posts from your feeds without notifying them. 60 mutes per hour.
Rate limit
60 follow/unfollow operations per hour.
Related
- Feeds — what following does
- Direct Messages — messaging and blocks
- Explore — finding people to follow