Accept or deny follower requests (when tweets are protected)
It will be really useful to be able to accept/deny follower requests with Twitter API when tweets are protected.
This feature exists but currently this is not public.
When I try to call this endpoint :
POST https://api.twitter.com/1.1/friendships/accept.json?user_id=<follower id>
I've received : {"errors":[{"code":37,"message":"Not authorized to use this endpoint."}]} - HTTP Code : 403

Thanks for the feedback. This is most certainly something that we will be considering as we build the next generation of the Twitter API.
5 comments
-
Calvin commented
This would be a very useful feature now that the follower request page seems to dynamically load/unload requests as you scroll, so you cannot load all your requests then CTRL-F to find the handle of the person who you are trying to let into your private account. For people with a few hundred or thousand private follower requests, it is currently very hard to let in specific people unless they very recently requested to follow you.
-
mayo commented
Hi, @Aurelia Specker
I have another reason which I think should be known.This feature is of interest to me because it would help grow a twitter presence for someone who might have a large community elsewhere.
For example if there is a discord community and you as the 'owner' want to have protected tweets for only members of your discord to see, being able to access the api endpoint above would be the only way to do it other than manually checking if each person who sent a follow_request exists in your other community (which becomes hard at larger numbers)
-
Thanks for the additional detail. I have shared this with the Product team for further consideration.
Please keep voting for this idea if it resonates with you!
-
Tweetinvi commented
@Aurelia Specker
This feature is important as a user who attempted to follow a private user through the api currently can only undo this operation from the Twitter website interface.
This is also preventing developers like myself from running end to end tests on Twitter with private users.
Associated github issue : https://github.com/linvi/tweetinvi/issues/913
-
Hi Nicolas - could you tell us more about why this feature is of interest to you? What are you trying to achieve exactly?