Make a list of your twitter friends

Make lists of your twitter friends and followers :

  • friends :
[pene@donunix] curl -u twitter_name:twitter_password -d status="friends" http://twitter.com/statuses/friends.xml | grep screen_name | sort | sed -e 's/ * \(.*\)<\/screen_name>/\1/' > friends.xml
  • followers :
[pene@donunix] curl -u twitter_name:twitter_password -d status="followers" http://twitter.com/statuses/followers.xml | grep screen_name | sort | sed -e 's/ *\(.*\)<\/screen_name>/\1/' > followers.xml

No comments: