Tomohiro Teranishi > Net-Twitter-Diff-0.10 > Net::Twitter::Diff

Download:
Net-Twitter-Diff-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.10   Source   Latest Release: Net-Twitter-Diff-0.11

NAME ^

Net::Twitter::Diff - Twitter Diff

SYNOPSIS ^

    use Net::Twitter::Diff;

    my $diff = Net::Twitter::Diff->new(  username => '******' , password => '******');

    my $res = $diff->diff();

    # get screen_names who you are not following but they are.
    print Dumper $res->{not_following};

    # get screen_names who they are not following but you are.
    print Dumper $res->{not_followed};

    # get screen_names who you are following them and also they follow you.
    print Dumper $res->{communicated};


    my $res2 = $diff->comp_following( 'somebody_twitter_name' );

    # only you are following
    print Dumper $res2->{only_me} ;

    # you are not following but somebody_twitter_name are following
    print Dumper $res2->{not_me} ;

    # both you and somebody_twitter_name are following
    print Dumper $res2->{share} ;

DESCRIPTION ^

Handy when you want to know relationshops between your followers and followings and when you wnat to compare your following and somebody's.

METHOD ^

diff

run diff

response hash

not_following

get screen_names who you are not following but they are.

not_followed

get screen_names who they are not following but you are.

communicated

get screen_names who you are following them and also they follow you.

comp_following( $twitter_id )

compaire your following and somebody's

response hash

only_me

only you are following

not_me

you are not following but somebody is following

share

both you and somebody are following.

xfollowing

can get more that 100 followings.

xfollowers

can get more that 100 followers.

SEE ALSO ^

Net::Twitter

AUTHOR ^

Tomohiro Teranishi <tomohiro.teranishi@gmail.com>