Changeset 90f8850 in lab.git for Dev/twitter/twitterbot.pl


Ignore:
Timestamp:
Jul 12, 2013 10:43:52 PM (11 years ago)
Author:
Ken-ichi Mito <mitty@…>
Branches:
master
Children:
d9a45a4
Parents:
0f8acb5
Message:

FIX: $res->{results} has changed to $res->{statuses} on API v1.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/twitter/twitterbot.pl

    re960958 r90f8850  
    221221        } 
    222222        VERBOSE and warn Dumper($res); 
    223         if ($res->{results}) { 
    224             foreach my $tweet (@{$res->{results}}) { 
     223        if ($res->{statuses}) { 
     224            foreach my $tweet (@{$res->{statuses}}) { 
    225225                my $res = $bot->show_status($tweet->{id}); 
    226226                VERBOSE and warn Dumper($res); 
Note: See TracChangeset for help on using the changeset viewer.