From ea8cffdb24db1466e110279c346e04eef0041c6c Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 28 Jan 2021 10:36:01 -0600 Subject: [PATCH] Remove duplicate max_id allowed_param in API.favorites --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.25.1