I have a protected twitter account due to the age restricted content being displayed. Is there a way to use the twitter API to accept or reject the requests to follow this account. I know that I can view these requests using
but which request will accept a request. I was looking at the
request but this seams to follow a user rather than accept the request for them to follow me.
Unfortunately, there is no method for doing this using the API for now.
http://code.google.com/p/twitter-api/issues/detail?id=8 has a request for it, but it seems to have a very low priority.
With the knowledge that the Twitter web uses it's own API to power it, using a dummy account (@komski and @GdRd) to send a follow request to another, and in clicking the accept button... Twitter sent a HTTP POST request to:
With the following parameters:
And the response was a JSON object of the new follower:
Now, I'm assuming that when using OAuth, you could try omitting the
post_authenticity_token
when sending the request.