I'm looking for a script that, given a username, api key, api secret, and auth tokens it will follow a twitter account for me so I can access it like: http://www.mysite.com/followthisperson.php?account=sometwitteraccounttofollow Does any one know where one is?
Here is a similar question which I think might help you out: http://stackoverflow.com/questions/2707209/follow-an-user-in-twitter-via-rest-api https://dev.twitter.com/docs/api/1/post/friendships/create
Thank you this is a big help. Writing a solution today. I just discovered that the api link above has to be for the 1.1 api version: https://dev.twitter.com/docs/api/1.1/post/friendships/create Still working,
It's built! Whenever a work order is placed over at http://dev.inboundnow.com and the client profile contains a twitter address then our twitter account here: @devinboundnow auto-follows them.