powered by
Twitter parameters to add more fields on the returned values. Main ones:
Tweet
Referenced tweets
Attachments
User
tweet_expansions(attachments = TRUE, referenced_tweets = TRUE)user_expansions()
user_expansions()
A character with the characters of valid expanions.
Add attachments values? Default yes.
Add referenced_tweets values? Default yes.
https://developer.twitter.com/en/docs/twitter-api/expansions
Fields
tweet_expansions() user_expansions()
Run the code above in your browser using DataLab