Overview
Follow
Follow a user on behalf of the authenticated user
Unfollow
Unfollow a user
Followers
Get a user’s followers
Following
Get who a user follows
Endpoints
Follows lookup
| Method | Endpoint | Description |
|---|---|---|
| GET | /2/users/:id/followers | Get a user’s followers |
| GET | /2/users/:id/following | Get who a user follows |
Manage follows
| Method | Endpoint | Description |
|---|---|---|
| POST | /2/users/:id/following | Follow a user |
| DELETE | /2/users/:source_user_id/following/:target_user_id | Unfollow a user |
Example: Get followers
Example: Follow a user
Getting started
Prerequisites
- An approved developer account
- A Project and App in the Developer Console
- Your App’s keys and tokens