Remove duplicate max_id allowed_param in API.favorites
authorHarmon <Harmon758@gmail.com>
Thu, 28 Jan 2021 16:36:01 +0000 (10:36 -0600)
committerHarmon <Harmon758@gmail.com>
Thu, 28 Jan 2021 16:36:01 +0000 (10:36 -0600)
tweepy/api.py

index 5ce9b652e4e49de788d5523aee7e5a1b869c1cf8..4751464a1b13b0b98d2f3a1a82fab40d30677abc 100644 (file)
@@ -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):