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*

I see so many new Entrecard users that are using the basic 125x125px cards so I figured I would show you how to make your own custom one using GIMP (The GNU Image Manipulation Program). This tutorial will show you the steps you need to do in order to make your own 100% free and legal card using open source software and public domain images.

Once you’ve gotten the hang of these steps, you may wish to look at more advanced GIMP tutorials that will show you how to add special effects to your text and graphic.

Video demo:
[youtube]http://www.youtube.com/watch?v=Fwe8LKklPEM[/youtube]

Companion PDF:

http://nukeit.org/pub/ec125gimp.pdf

If you like this tutorial, be sure to give it a stumble or digg so others can find it too :)

© 2010 nukeitdotorg Suffusion WordPress theme by Sayontan Sinha