Unfollow a User by Their Username
A 2-step recipe with X (Twitter). We can help you get access.
Recipe · 2 steps
Unfollow a User by Their Username
with X (Twitter)
Resolve a username and unfollow that user as the authenticated account.
- Resolve the target username into a numeric user id.
- Unfollow the resolved target user as the authenticated user.
What you'll need to have ready
- authUserId: The numeric id of the authenticated user who will unfollow.
- targetUsername: The @username of the account to unfollow, without the leading @.
- authorization: OAuth2 user token to authorize the requests (e.g. "Bearer xxx").
For your developer
Arazzo workflow twitter:unfollow-user-by-username, 2 operations: getUsersByUsername → unfollowUser. Specs on APIs.io.