Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Delete a tweet

James Mallison edited this page Jun 20, 2013 · 6 revisions

Destroys the tweet specified by the required ID parameter. The authenticating user must be the author of the specified status. Returns the destroyed status if successful.

Documentation

####Parameters

?id=12345 - Delete a tweet with the id 12345

?trim_user=true - Trim the response to include only tweets, and the user ID for each tweet

####Usage

Resource URL: $url = "https://api.twitter.com/1.1/statuses/destroy/:id.json";

POST Fields: $postfields = array('id' => 12345, 'trim_user' => true);

Clone this wiki locally