dharmafly/twitter-following-cleaner — pull request #7 by benjie (2012-06-29 09:58:27+00:00)
Title: Batch request user details to save on API calls.

Updated the 'following' API to 'friends':
https://dev.twitter.com/docs/api/1/get/friends/ids

And used the batch user 'lookup' command to fetch users:
https://dev.twitter.com/docs/api/1/get/users/lookup

Now it only uses (1+ceil(N/100)) API requests when N is the number of people you are following. :)