Expansions | R Documentation |
Twitter parameters to add more fields on the returned values.
set_expansions(
tweet = tweet_expansions(),
user = user_expansions(),
list = list_expansions()
)
tweet_expansions(attachments = TRUE, referenced_tweets = TRUE)
user_expansions()
list_expansions()
tweet , user , list |
|
attachments |
Add attachments values? Default yes. |
referenced_tweets |
Add referenced_tweets values? Default yes. |
The set_expansions
can be used to prepare the arguments for other rtweet functions.
A character with the characters of valid expansions.
https://developer.twitter.com/en/docs/twitter-api/expansions
Fields, set_fields()
tweet_expansions()
user_expansions()
set_expansions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.