Add list of names to Twitter list

2009/12/24

To add someone to a Twitter list, you have to load their Twitter page, then click the box, then choose the correct list you want to add them to.

That’s fine if you are dealing with a few of them, but what if you have a long list of 100+ names you want to add to a Twitter list?

That’s where “twitter-add-to-list.sh” comes in:

twitter-add-to-list.sh tj luomat twitreport 

will add those three names to a Twitter list. Which list? The list you define in the script using the $LISTNAME variable.

The script is fairly easy to use. You need to edit three lines:

TWITTER_USERNAME=
TWITTER_PASSWORD=
LISTNAME=

Put in the appropriate information, save the file, and off you go (NOTE: be sure that the list already exists).

Download

Thanks to the power of Dropbox, you can always get the latest version of the script (the one that I am using and possibly updating) at:

http://dl.dropbox.com/u/18414/bin/twitter-add-to-list.sh

That link will probably display in your browser, so if you want to save it locally, right-click (Mac users: control-click) the link and choose the appropriate save action.

blog comments powered by Disqus

Previous post: rmdir and .DS_Store

Next post: mod_rewrite for moving Tumblr away from a custom domain name