followingとfollowerの関係と、自分のfollowingと知り合いのfollowingの差を知りたい時に便利なNet-Twitter-Diff

Net-Twitter-Diff-0.03CPANにリリースしました

いくつかの使い方があります。

  1. あなたをfollowerしているけど、あなたがfollowingしていない人を見つけて追加したい時。
  2. あなたが発言していることを、この人が聞いてくれてるのか調べたい時。
  3. 自友達がfollowingしているのに、自分がfollowingしていない人を見つけて追加したい時。
  4. Net::Twitter->following ,followers メソードだと100件までしか取得できないので、それ以上の情報を取得したい時(xfollowing, xfollowers)
use Net::Twitter::Diff;
use Data::Dumper;
my $diff = Net::Twitter::Diff->new(  username => '******' , password => '******');
   
print Dumper $diff->diff();

print Dumper $diff->comp_following( 'somebody_twitter_name' );

print Dumper $diff->xfollowing();
print Dumper $diff->xfollowers();

Net-Twitter-FriendFinderプラグインの、TwitterDiffと一緒に使うとたぶん、さらに便利です。

http://coderepos.org/share/browser/lang/perl/Net-Twitter-FriendFinder/trunk/lib/Net/Twitter/FriendFinder/From/TwitterDiff.pm