From 6a3c1abae29e04b52ae4e881c337bb735e72a038 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 11 Feb 2021 21:29:36 -0600 Subject: [PATCH] Remove id endpoint parameter for API.create_friendship --- tweepy/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/api.py b/tweepy/api.py index 8999c39..f0ab39e 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -559,7 +559,7 @@ class API: """ return self.request( 'POST', 'friendships/create', *args, endpoint_parameters=( - 'id', 'user_id', 'screen_name', 'follow' + 'user_id', 'screen_name', 'follow' ), **kwargs ) -- 2.25.1