I need a php tool. It can be use in command-line or with apache. You don't have to make a pretty output, it'll be an internal tool only.
This tool have to unfollow people who i'm following and who they don't follow me. Unfollow must be worked very slowly in order to not be blacklisted by Twitter. If user-agent is used (with curl for example), i must be able to change it.