tweet_post: Post a tweet

View source: R/statuses.R

tweet_postR Documentation

Post a tweet

Description

This function uses the API v2 to post tweets.

Usage

tweet_post(text, ..., token = NULL)

Arguments

text

Text of the tweet.

...

Other accepted arguments.

token

This endpoint accepts a OAuth2.0 authentication (can be created via rtweet_oauth2()) or a bearer token (can be created via rtweet_app()).

References

https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets

Examples

if (FALSE) {
 # It requires the Oauth2.0 Authentication
  tp_id <- tweet_post("Posting from #rtweet with the basic plan")
  tweet_post()
}

rtweet documentation built on May 29, 2024, 7:47 a.m.