From: Joshua Roesslein Date: Tue, 29 Jan 2013 08:19:09 +0000 (-0800) Subject: Fix destroy_status X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4af1c72d9fcff59b66f36c42cafa6f52b54ff4c5;p=tweepy.git Fix destroy_status --- diff --git a/tweepy/api.py b/tweepy/api.py index 5b67d9b..1826cd3 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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