Question

My Twitter application is based on a secured twitter account and should be able to accept or deny follower requests. At the moment I query new incoming friendship request through twitterInstance.getIncomingFriendships(-1); which works fine.

Now I want to accept a request. For this purpose I use twitterInstance.createFriendship(friendId); and my application will tell my account to follow this person but this function does not "accept" his following request.

What is wrong with this approach? Is there another method?

Was it helpful?

Solution

I've learned that this is impossible. I posted an answer to a related question here: How do I use the Twitter API to approve a follower request for a protected account?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top