ropensci / rtweet

🐦 R client for interacting with Twitter's [stream and REST] APIs
https://docs.ropensci.org/rtweet
Other
785 stars 201 forks source link

Request: Scheduled Tweets? #298

Closed pbulsink closed 1 year ago

pbulsink commented 5 years ago

Request

Twitter has a scheduled tweet API hook, this might be an interesting option instead of scheduling R run to post a tweet with taskscheduleR.

Expected behavior

This could use API hooks discussed in the official API guide https://developer.twitter.com/en/docs/ads/creatives/guides/scheduled-tweets-guide.

This would look like: schedule_post_tweet(status = "my first rtweet #rstats", media = NULL, time = Sys.Time()+3600, token = NULL, in_reply_to_status_id = NULL, retweet_id = NULL)

This could have a logical time default of 1h (for example).

hadley commented 3 years ago

This requires a separate twitter ads developer account, which requires agreeing to a number of extra terms of service and policies, so I suspect it is out of scope for rtweet.

llrs commented 3 years ago

Not necessarily out of scope, I think it might be useful to support it. Certainly it is not about collect and organize Twitter data but it is about Twitter API. However this will need to wait, and not for next release.