Fix destroy_status
authorJoshua Roesslein <jroesslein@gmail.com>
Tue, 29 Jan 2013 08:19:09 +0000 (00:19 -0800)
committerJoshua Roesslein <jroesslein@gmail.com>
Tue, 29 Jan 2013 08:19:09 +0000 (00:19 -0800)
tweepy/api.py

index 5b67d9bb8d440ddaafb7e17e1d20a77f7f737f8f..1826cd3e9f3d9ba4b1f75c5e12559d490649dd50 100644 (file)
@@ -105,8 +105,8 @@ class API(object):
 
     """ statuses/destroy """
     destroy_status = bind_api(
-        path = '/statuses/destroy.json',
-        method = 'DELETE',
+        path = '/statuses/destroy/{id}.json',
+        method = 'POST',
         payload_type = 'status',
         allowed_param = ['id'],
         require_auth = True