/** * @param $tweetId * * @return mixed */ public function destroy($tweetId) { $tweetId = $this->extractTweetId($tweetId); try { $response = $this->client->post("statuses/destroy/{$tweetId}.json"); } catch (RequestException $e) { $response = $e->getResponse(); } return $response->json(); }