Browse files

Changing the path for report_spam.json according to API 1.1 docs

  • Loading branch information...
1 parent c78f9a8 commit b6696b6625341edd1fc4a75bc35042b316668b01 @Oire Oire committed Mar 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 tweepy/api.py
View
4 tweepy/api.py
@@ -451,10 +451,10 @@ def update_profile_background_image(self, filename, *args, **kargs):
""" 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
)

0 comments on commit b6696b6

Please sign in to comment.