powered by
Will delete a tweet
tweet_delete(id, verbose = FALSE, token = NULL)
At least a tweet id.
A logical value to provide more information about the paginated queries (if any) and to store the data of each page.
This endpoint accepts a OAuth2.0 authentication (can be created via rtweet_oauth2()) or a bearer token (can be created via rtweet_app()).
rtweet_oauth2()
rtweet_app()
https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/delete-tweets-id
tweet_post(), tweet_search_recent(), user_timeline()
tweet_post()
tweet_search_recent()
user_timeline()
if (FALSE) { # It requires Oauth authentication tp <- tweet_post("Running examples of #rtweet") td <- tweet_delete(tp$id) }
Run the code above in your browser using DataLab