Posts Tagged ‘twitter’

howto A script for adding multiple twitter follows….

2 Comments

@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.

Tags: , ,