Changeset c1b8ad4 in lab.git for Dev


Ignore:
Timestamp:
Sep 23, 2012 2:32:56 PM (12 years ago)
Author:
mitty <mitty@…>
Branches:
master, trunk
Children:
b3bc7ca
Parents:
43d739e
Message:
  • add count => 200 parameter to request
  • mentions function still only return 50 tweets

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@167 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/twitter/dump_timeline.pl

    r43d739e rc1b8ad4  
    5353eval { 
    5454    my $page = 0; 
    55     while ($pages - $page && $page <= 160) { 
     55    while ($pages - $page && $page <= 20) { 
    5656        $page++; 
    5757         
    5858        my $param = ($screen_name) 
    59             ? { page => $page, screen_name => $screen_name, } 
    60             : { page => $page, } 
     59            ? { page => $page, screen_name => $screen_name, count => 200, } 
     60            : { page => $page, count => 200, } 
    6161        ; 
    6262     
Note: See TracChangeset for help on using the changeset viewer.