Skip to content

Commit

Permalink
Update fitz-twitter-art-bot-tweet.R
Browse files Browse the repository at this point in the history
  • Loading branch information
portableant authored Jul 23, 2022
1 parent a334215 commit 3d3e7c6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fitz-twitter-art-bot-tweet.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,12 @@ tweetText <- paste(number, label, 'made by', maker, uri, 'Acquired', acquisition
temp_file <- tempfile(fileext = ".jpeg")
download.file(imageUrl, temp_file)

# Create Twitter token

fitzArtBot_token <- rtweet::rtweet_bot(
api_key = Sys.getenv("TWITTER_CONSUMER_API_KEY"),
api_secret = Sys.getenv("TWITTER_CONSUMER_API_SECRET"),
access_token = Sys.getenv("TWITTER_ACCESS_TOKEN"),
access_secret = Sys.getenv("TWITTER_ACCESS_TOKEN_SECRET")
)
#rtweet::auth_as(fitzArtBot_token)

rtweet::post_tweet(
token = fitzArtBot_token,
Expand Down

0 comments on commit 3d3e7c6

Please sign in to comment.