Learn R Programming

rtweet (version 2.0.0)

post_destroy: Delete status of user's Twitter account [Deprecated]

Description

Deletes a status of user's profile.

Usage

post_destroy(destroy_id, token = NULL)

Arguments

destroy_id

To delete a status, supply the single status ID here. If a character string is supplied, overriding the default (NULL), then a destroy request is made (and the status text and media attachments) are irrelevant.

token

Use this to override authentication for a single API call. In many cases you are better off changing the default for all calls. See auth_as() for details.

References

https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-statuses-destroy-id

See Also

tweet_delete() rtweet-deprecated