projects
/
lab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8acb5
)
FIX: $res->{results} has changed to $res->{statuses} on API v1.1
author
Ken-ichi Mito
<mitty@mitty.jp>
Fri, 12 Jul 2013 13:43:52 +0000
(22:43 +0900)
committer
Ken-ichi Mito
<mitty@mitty.jp>
Fri, 12 Jul 2013 13:43:52 +0000
(22:43 +0900)
Dev/twitter/twitterbot.pl
patch
|
blob
|
history
diff --git
a/Dev/twitter/twitterbot.pl
b/Dev/twitter/twitterbot.pl
index
f33837b
..
4606d95
100755
(executable)
--- a/
Dev/twitter/twitterbot.pl
+++ b/
Dev/twitter/twitterbot.pl
@@
-220,8
+220,8
@@
sub or_search {
);
}
VERBOSE and warn Dumper($res);
- if ($res->{results}) {
- foreach my $tweet (@{$res->{results}}) {
+ if ($res->{statuses}) {
+ foreach my $tweet (@{$res->{statuses}}) {
my $res = $bot->show_status($tweet->{id});
VERBOSE and warn Dumper($res);