X-Git-Url: http://lab.mitty.jp/git/?a=blobdiff_plain;f=Dev%2Ftwitter%2Fdump_timeline.pl;h=4e2db3ce3ac3021a7a02fc4ad3b72ed7058cfbfd;hb=HEAD;hp=ae9cc94c2c15049afd742d74c263fb209c9b4cb5;hpb=e960958d0632638a955d083bbd912f56ddccdb7e;p=lab.git diff --git a/Dev/twitter/dump_timeline.pl b/Dev/twitter/dump_timeline.pl index ae9cc94..4e2db3c 100755 --- a/Dev/twitter/dump_timeline.pl +++ b/Dev/twitter/dump_timeline.pl @@ -18,7 +18,7 @@ use Encode; my $help = sub { die <user_timeline($param); } - elsif ($method eq 'retweeted_by_me' || $method eq 'r') { - $res = $bot->retweeted_by_me($param); - } elsif ($method eq 'mentions' || $method eq 'm') { $res = $bot->mentions($param); } @@ -143,6 +140,7 @@ sub login { consumer_key => $conf->{consumer_key}, consumer_secret => $conf->{consumer_secret}, legacy_lists_api => 0, + ssl => 1, ); $bot->access_token($conf->{access_token});