Python GetUserTimeline无法返回所有时间线

Python GetUserTimeline无法返回所有时间线,python,twitter,timeline,python-twitter,Python,Twitter,Timeline,Python Twitter,我正在使用python twitter库,但无法获取指定用户的所有时间线 api = twitter.Api(consumer_key='', consumer_secret='', access_token_key='', access_token_secret='') statuses = api.GetUserTimeline(screen_name = "me"

我正在使用python twitter库,但无法获取指定用户的所有时间线

api = twitter.Api(consumer_key='',
                      consumer_secret='',
                      access_token_key='',
                   access_token_secret='')

statuses = api.GetUserTimeline(screen_name = "me", count = 2000)
print len(statues)
始终返回:

200

如何获取一个用户的所有时间线?

来自
python twitter
api源代码:

一个请求最多只能收到200条推文

通过这种方式,您可以检索最后200条推文。如果你想获得更老的tweet,你必须使用
since\u id
max\u id
参数

      since_id (int, optional):
        Returns results with an ID greater than (that is, more recent
        than) the specified ID. There are limits to the number of
        Tweets which can be accessed through the API. If the limit of
        Tweets has occurred since the since_id, the since_id will be
        forced to the oldest ID available.
      max_id (int, optional):
        Returns only statuses with an ID less than (that is, older
        than) or equal to the specified ID.

python twitter
api源代码:

一个请求最多只能收到200条推文

通过这种方式,您可以检索最后200条推文。如果你想获得更老的tweet,你必须使用
since\u id
max\u id
参数

      since_id (int, optional):
        Returns results with an ID greater than (that is, more recent
        than) the specified ID. There are limits to the number of
        Tweets which can be accessed through the API. If the limit of
        Tweets has occurred since the since_id, the since_id will be
        forced to the oldest ID available.
      max_id (int, optional):
        Returns only statuses with an ID less than (that is, older
        than) or equal to the specified ID.