Showing posts with label twitter. Show all posts
Showing posts with label twitter. Show all posts

Thursday, December 04, 2008

A script for adding multiple twitter follows....

@magitam had an interesting problem and I had an itch to try out the python-twitter API.

follow.py is the result.

Usage: ./follow.py <twitter username> <twitter password> <filename.csv>")

Copy the code above and save it using notepad as follow.py

You will need a python interpreter and the python-twitter API to run it. Tested on Linux but should run anywhere.

The input file can be either:
friend1

friend2

friend3

or
friend1,friend2,friend3

or
friend1,friend2

friend3

Disclaimer: I will not take responsibility for loss of life, revenue, sex drive, property or any negative consequence suffered as a result of using the above code.

[gallery]