From: Oire Date: Fri, 15 Mar 2013 13:08:17 +0000 (+0200) Subject: Changing the path for report_spam.json according to API 1.1 docs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b6696b6625341edd1fc4a75bc35042b316668b01;p=tweepy.git Changing the path for report_spam.json according to API 1.1 docs --- 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 )