action_auto_tweet | R Documentation |
action_auto_tweet()
handles daily tweeting on the SER account. It randomly pulls
one tweet from the tweet queue per day to post. It cycles through each tweet
before posting a tweet again. Additionally, there is a 1 in 10 chance that it
will instead retweet a popular SER tweet. This function will not post
anything if it is a blackout date. It causes several side effects, including
downloading the tweet and retweet queue, posting tweets, and updating the
files on Google Drive. Requires Google Drive and Twitter authorization.
action_auto_tweet( twitter_token = ser_token, google_drive_auth = drive_auth_token(), todays_date = get_day() )
twitter_token |
an rtweet token for the SER app |
google_drive_auth |
the name of the google drive authorization file |
a data frame containing the updated tweet queue
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.