From 66f6704472eba01321fdb36d8991e3497967ad89 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 9 Feb 2021 22:15:47 -0600 Subject: [PATCH] Require id parameter for API.retweeters --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index e0f0238..293f2c6 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -433,11 +433,11 @@ class API: @pagination(mode='cursor') @payload('ids') - def retweeters(self, *args, **kwargs): + def retweeters(self, id, *args, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids """ return self.request( - 'GET', 'statuses/retweeters/ids', *args, endpoint_parameters=( + 'GET', 'statuses/retweeters/ids', id, *args, endpoint_parameters=( 'id', 'cursor', 'stringify_ids' ), **kwargs ) -- 2.25.1