How to approve follow requests through code in twitter API?
People have to register and follow my tweets... I need people to request following my ID and I need to approve them by 开发者_如何转开发using API
why not try a twitter api library for java
http://code.google.com/p/java-twitter/
http://twitter4j.org/en/index.html
any one of the above libraries would help.
I need to approve people who have requested me to follow and I need this done by API. I have currently figured a way out of this problem. (Twitter has not implemented the API call for this)
- I will un-protect my tweets and people need not send request to follow me.
- I will make people to follow me through an web based application that stores the User_ID in the db.
- I will run periodic script that compares the followers in the application to followers in the twitter ID.
- I will block the user who is has not been registered through my web based application.
- I will un-block them once they do not follow me/ register through my application.
Please comment on this solution
精彩评论