From 4af1c72d9fcff59b66f36c42cafa6f52b54ff4c5 Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Tue, 29 Jan 2013 00:19:09 -0800 Subject: [PATCH] Fix destroy_status --- tweepy/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1