Description Usage Arguments How to share your meme on Twitter References Examples
Pipe your meme directly into this function to post your meme on Twitter. Make sure to have rtweet
installed!
1 2 3 | meme_tweet(meme,
tweet_text = "It's dangerous to meme alone. Here take this.",
tag_rstatsmemes = FALSE, token = NULL)
|
meme |
an external pointer of class 'magick-image' |
tweet_text |
The text that you want to post along with your meme |
tag_rstatsmemes |
adds two hashtags and tags the "rstatsmemes" account |
token |
Every user should have their own Oauth (Twitter API) token. By
default |
Authenticate your Twitter account, i.e. create a token)
Create meme of your liking
Post meme to Twitter
Kearney, M. W. (2018). rtweet: Collecting Twitter Data. R package version 0.6.7 Retrieved from https://cran.r-project.org/package=rtweet
1 2 3 4 5 6 7 | ## Not run:
meme_get("OprahGiveaway") %>%
meme_text_bottom("EVERYONE GETS R MEMES!!!", size = 36) %>%
meme_tweet(tweet_text = "It's dangerous to meme alone. Here take this.",
tag_rstatsmemes = T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.