From: Harmon Date: Thu, 28 Jan 2021 16:36:01 +0000 (-0600) Subject: Remove duplicate max_id allowed_param in API.favorites X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ea8cffdb24db1466e110279c346e04eef0041c6c;p=tweepy.git Remove duplicate max_id allowed_param in API.favorites --- diff --git a/tweepy/api.py b/tweepy/api.py index 5ce9b65..4751464 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -708,14 +708,14 @@ class API: def favorites(self, *args, **kwargs): """ :reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-favorites-list :allowed_param: 'screen_name', 'user_id', 'max_id', 'count', - 'since_id', 'max_id' + 'since_id' """ return bind_api( api=self, path='/favorites/list.json', payload_type='status', payload_list=True, allowed_param=['screen_name', 'user_id', 'max_id', 'count', - 'since_id', 'max_id'] + 'since_id'] )(*args, **kwargs) def create_favorite(self, *args, **kwargs):