From b6696b6625341edd1fc4a75bc35042b316668b01 Mon Sep 17 00:00:00 2001 From: Oire Date: Fri, 15 Mar 2013 15:08:17 +0200 Subject: [PATCH] Changing the path for report_spam.json according to API 1.1 docs --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index b0fbb90..1eaaf91 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -451,10 +451,10 @@ class API(object): """ report_spam """ report_spam = bind_api( - path = '/report_spam.json', + path = '/users/report_spam.json', method = 'POST', payload_type = 'user', - allowed_param = ['id', 'user_id', 'screen_name'], + allowed_param = ['user_id', 'screen_name'], require_auth = True ) -- 2.25.1