Changeset 5fa546f in lab.git for Dev/twitter
- Timestamp:
- Jan 1, 2011 3:01:50 PM (14 years ago)
- Branches:
- master, trunk
- Children:
- 641934f
- Parents:
- ee655ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/twitter/dump_timeline.pl
ree655ec r5fa546f 19 19 die <<EOM; 20 20 usage: $0 21 [ user_timeline(default)|retweeted_by_me|mentions21 [{u}ser_timeline(default)|{r}etweeted_by_me|{m}sentions 22 22 [screen_name 23 23 [number_of_pages|all … … 62 62 63 63 my $res; 64 if ($method eq 'user_timeline' ) {64 if ($method eq 'user_timeline' || $method eq 'u') { 65 65 $res = $bot->user_timeline($param); 66 66 } 67 elsif ($method eq 'retweeted_by_me' ) {67 elsif ($method eq 'retweeted_by_me' || $method eq 'r') { 68 68 $res = $bot->retweeted_by_me($param); 69 69 } 70 elsif ($method eq 'mentions' ) {70 elsif ($method eq 'mentions' || $method eq 'm') { 71 71 $res = $bot->mentions($param); 72 72 }
Note: See TracChangeset
for help on using the changeset viewer.