Twitter API: Get Followers +99

前端 未结 7 722
悲&欢浪女
悲&欢浪女 2021-02-06 08:05

Using the twitter API (and OAuth) if i was to call for the user followers, (statuses/followers) i would be returned only 99 results.

Is there a way i can return 99, then

7条回答
  •  梦毁少年i
    2021-02-06 08:52

    You need to specify cursor parameter as described in the API documrnation. E.g. specify cursor=-1 to request the first page and then use a next_cursor value returned in the first response:

      http://twitter.com/statuses/followers/barackobama.xml?cursor=-1
      http://twitter.com/statuses/followers/barackobama.xml?cursor=1300794057949944903
    

提交回复
热议问题