And here’s my stupid autofollow script. My Follower Grabber script generates lists of 1k users which you can plug into this one to follow 1k new people per day. It has a timer so you won’t hit the hourly limits.

#!/bin/bash
FILE="newfollows"
exec < $FILE
while read LINE
do
#twitter follow $LINE -e email -p password
twitter follow $LINE -e email -p password
sleep 37
done

I use Python Twitter Tools because it has nice features and does a lot of hard work that I could have spent hours writing in bash. http://mike.verdone.ca/twitter/

To auto tweet something, use something like this. I dunno… I use hootsuite :)

#!/bin/bash
FILE="tweets"
exec < $FILE
while read LINE
do
twitter set $LINE -e email -p password
sleep 3600 ## seconds
done

Other tips:
Create multiple directories and copy the script into each one. Add you different account info to each script and start them. I’ve only tested it with two accounts at the same time, but any more and you might get .

Add your 1k per day and wait 48h. Use something like refollow to remove those who don’t follow you back. Repeat as long as you want

The follow grabber tries to keep track of your followers and uses that list to keep your lists clean. This functionality might break or take forever if you already have a shit ton of followers.

I got block banned a while back, some asshat blocked me and I think I tried to follow him too many times and the bot got me. I had it reversed immediately, but its something you might watch out for.

I don’t know of any way off hand to find out who is blocking you, but if you have a way or a list, you need to make sure your new collections don’t contain those who are blocking you.

stupidtwitter

Here’s a little bash script that you can use to grab your followers’ followers. It dumps them in to split lists of 1000 users each. Windows user? Just use msys with curl, it will work.

Why bash? Why learn a new language when you already have the stuff to do it without a bunch of extra deps? Not to mention the extremely low chance some assclown will steal it, compile it, then sell it on BHW or ebay for a crapload of money…

I may post my autofollower if there’s any interest. Leave me some comments and I’ll think about it :)

#!/bin/bash
#
#
#                      |         _)  |        |        |
#            \   |  |  | /   -_)  |   _|   _` |   _ \   _|   _ \   _| _` |
#         _| _| \_,_| _\_\ \___| _| \__| \__,_| \___/ \__| \___/ _| \__, |
#                                                                   ____/
#                              http://nukeit.org
#
#
#Grab your followers' followers and send them to 1k line lists for use with my autofollow script.
#
#Set your username and password here.
USER=""
PASS=""
#Grab first 50 pages of your follower list to avoid the limits
for (( a=1; a<=49; a++ )); do curl http://twitter.com/statuses/followers.xml?page=$a -u$USER:$PASS >> myfollowers.xml; done
#Jack all the screen names
cat myfollowers.xml |grep screen_name > followers2
#Clean up the output
cat followers2 | sed -e 's/\<screen_name>//g' | sed -e 's/\<in_reply_to_screen_name>//g' | sed -e 's/<//g' | sed -e 's/\///g' | sed 's/ //g' | sed '/^$/d' | sort -ui > allfollowers
#Do it again but only keep the first 50 lines to avoid the limits
cat followers2 | sed -e 's/\<screen_name>//g' | sed -e 's/\<in_reply_to_screen_name>//g' | sed -e 's/<//g' | sed -e 's/\///g' | sed 's/ //g' | sed '/^$/d' | sort -ui | head -n 50 > followers3
#Grab your followers followers
for tweeps in $(cat followers3); do curl http://twitter.com/statuses/friends/${tweeps}.xml -u$USER:$PASS >> followfollow; done
#Jack all the screen names
cat followfollow |grep screen_name > followfollow2
#Clean up the output
cat followfollow2 | sed -e 's/\<screen_name>//g' | sed -e 's/\<in_reply_to_screen_name>//g' | sed -e 's/<//g' | sed -e 's/\///g' | sed 's/ //g' | sort -ui > followfollow3
#Dupecheck
comm -1 -2 allfollowers followfollow3 > dupe
cat followfollow3 | grep -v -f dupe > followfollow4
#Split into files with 1k each
split -l 1000 followfollow4 finallistpart
#cleanup
rm -rf follow*
© 2010 nukeitdotorg Suffusion WordPress theme by Sayontan Sinha