Anybody who uses Twitter has heard of auto-follow services for Twitter.
Below is a PowerShell script I used to auto UNfollow. The script goes through the people you're following and eliminates "idle" or "spam" friends. An idle friend is determined by a low friend count or low status count on an account that has been in existance for at least a couple months (configurable). A spam friend is determined by a high friend count but a low follower count (by default, the script uses a 15-1 ratio as the max).
I would appreciate any good tweaks or improvements you might like to share! In particular I wasn't sure how to deal with Twitter's rate limiting (150 get requests per hour). For now I just catch the exception when it occurs and sleep for an hour before resuming.
Technorati Tags: Twitter