I was reading Jeff LaMarche’s iPhone Development blog and saw that Tim Haines (developer of the BurnBall iPhone game) has put up a google spreadsheet document that all the iPhone developers can put their twitter accounts on. There’s even a ruby script that somebody made so that you can add them all at once! Pretty sweet.
You can get the ruby script by downloading it from github: http://is.gd/hmiK. This script was created by David Clements (thanks!). He also posted it on his blog. To run the ruby script you need to make sure you have the google spreadsheet gem and the twitter gem installed. You’ll also want to make sure your ruby installation is up to date. If you have a mac you can follow my simple instructions:
- Open Terminal
- Update Ruby by typing:
gem update --system
- Install the Twitter gem:
sudo gem install Twitter
- Add the google spreadsheet gem source location:
gem sources -a http://gems.github.com
- Install the google spreadsheet gem:
sudo gem install gimite-google-spreadsheet-ruby
- Open up the .rb file you downloaded from http://is.gd/hmiK in TextEdit
- Enter your google and twitter usernames and passwords (it’s safe, look at the code!)
- Save the file!
- In Terminal, navigate to the .rb file you downloaded from github and type:
In the terminal window you should see all of the users getting added. The follow_iphone_devs.rb file has comments at the top that you should change the code from 1..1000 to be something like 1..10 and do a few every minutes (1..10, 11..20,21..30). That way Twitter won’t get mad. I did 50 at a time and it seemed to be just fine. (Also note that due to the comments at the top of the spreadsheet, the actual results don’t start until line 6, not 1).