Jay Gold wrote a good blog entry entitled ‘Follow Back: How I Choose Who to Follow on Twitter’.
Jay has some really good points and a nice strategy for his tweeteria.
I am not a big fan of the whole follow me and I follow you back. You might not find my tweets interesting even though I find yours. This has a side effect that I always have more followers than friends, simply because I cannot control how many people choose to follow me and I only add people whom I would like to follow, since their tweets are of interest to me – well that and I am a lazy bastard.
Web Upd8 had an article on ReFollow.com an online service to manage your Twitter friends and followers. The service helps you to get a nice picture of your friends and followers and who are both friends and followers.
Anyway, due to my lazy attitude I actually wrote up a Perl application prior to trying out ReFollow.com. So here it is if you are interested. The application show you your friends, followers and people in both groups, so you can easily identify people whom you follow, but you do not follow and vice versa.
- #!/usr/bin/perl
- # $Id$
- use strict;
- use warnings;
- use Getopt::Long;
- use Pod::Usage;
- use Net::Twitter::Lite;
- my $username;
- my $password;
- GetOptions( 'username=s' => \$username, 'password=s' => \$password );
- if ( not $username ) {
- pod2usage(1);
- }
- if ( not $password ) {
- $password = <STDIN>;
- }
- my $nt = Net::Twitter::Lite->new(
- username => $username,
- password => $password,
- );
- my $friends_list = $nt->friends();
- my $followers_list = $nt->followers();
- eval {
- $friends_list = $nt->friends();
- $followers_list = $nt->followers();
- };
- if ($EVAL_ERROR) {
- }
- my @friends_and_followers;
- my @followers;
- my $i = 0;
- for my $follower ( @{$followers_list} ) {
- if ( any { $_ eq $follower->{screen_name} } @friends ) {
- }
- $i++;
- }
- __END__
- =pod
- =head1 NAME
- twitter.pl - CLI twitter client
- =head1 SYNOPSIS
- twitter.pl [options]
- Options:
- --username <username>
- --password <password>
- =head1 OPTIONS
- =over 8
- =item B<--username> Twitter username, this parameter is mandatory
- =item B<--password> Twitter password, this parameter is optional, if not provided you will be prompted for a password.
- =back




