Logo
Twitter API Documentation

Follows

Number of APIs: 4


1. Followers of user ID

GET https://api.twitter.com/2/users/:id/followers

Returns a list of users who are followers of the specified user ID.

For full details, see the API reference for this endpoint.



2. Users a user ID is following

GET https://api.twitter.com/2/users/:id/following

Returns a list of users the specified user ID is following.

For full details, see the API reference for this endpoint.



3. Follow a user ID

POST https://api.twitter.com/2/users/:id/following

Allows a user ID to follow another user.

For full details, see the API reference for this endpoint.



4. Unfollow a user ID

DELETE https://api.twitter.com/2/users/:source_user_id/following/:target_user_id

Allows a user ID to unfollow another user.

For full details, see the API reference for this endpoint.



ENDPOINTS