bear / python-twitter

A Python wrapper around the Twitter API.
Apache License 2.0
3.41k stars 955 forks source link

Increase number of records for Friends / Followers retrieved to match new limit #623

Closed davidmanheim closed 4 years ago

davidmanheim commented 4 years ago

The twitter API now allows 5,000 records at a time, but the code, in GetFriendsPaged and GetFollowersPaged, sets count to 200, the old limit. This should presumably be increased.

davidmanheim commented 4 years ago

Whoops! I misunderstood the API rules and the code. In fact, GetFriendIDsPaged/GetFollowerIDsPaged have a 5,000 item limit, which is already correct in the code, while the mentioned endpoints still have a 200 user limit.