Twitter unfollow

This would unfortunately not be possible using n8n’s Twitter node because it doesn’t have operations for fetching followers, people you follow or for unfollowing a user.

So in order to implement this in n8n you would need to:

  • Research the respective Twitter API endpoints
  • Fetch the list of follwers and people you are following using the HTTP Request node (for authentication information you can refer to this post)
  • Possibly convert the results into n8n items (the Item Lists node might come in handy here)
  • Compare the two lists (the Merge node’s Remove Key Matches operation could be a good help with this)
  • Lastly, perform the unfollow operation for each user you follow but who doesn’t follow you back
1 Like