Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit e9121fb

Browse files
committed
Change retweeters parameter to 'cursor'
According to the documentation (https://dev.twitter.com/rest/reference/get/statuses/retweeters/ids) the cursoring parameter is called 'cursor' and not 'count'.
1 parent 0341e60 commit e9121fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

twitter/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ def GetRetweeters(self,
17081708
while True:
17091709
if cursor:
17101710
try:
1711-
parameters['count'] = int(cursor)
1711+
parameters['cursor'] = int(cursor)
17121712
except ValueError:
17131713
raise TwitterError({'message': "cursor must be an integer"})
17141714
resp = self._RequestUrl(url, 'GET', data=parameters)

0 commit comments

Comments
 (0)