Twitter parameters to add more fields on the returned values.
Usage
set_expansions(
tweet = tweet_expansions(),
user = user_expansions(),
list = list_expansions()
)
tweet_expansions(attachments = TRUE, referenced_tweets = TRUE)
user_expansions()
list_expansions()
Examples
tweet_expansions()
#> [1] "author_id" "in_reply_to_user_id"
#> [3] "geo.place_id" "entities.mentions.username"
#> [5] "edit_history_tweet_ids" "attachments.media_keys"
#> [7] "attachments.poll_ids" "referenced_tweets.id"
#> [9] "referenced_tweets.id.author_id"
user_expansions()
#> [1] "pinned_tweet_id"
set_expansions()
#> [1] "author_id" "in_reply_to_user_id"
#> [3] "geo.place_id" "entities.mentions.username"
#> [5] "edit_history_tweet_ids" "attachments.media_keys"
#> [7] "attachments.poll_ids" "referenced_tweets.id"
#> [9] "referenced_tweets.id.author_id" "pinned_tweet_id"
#> [11] "owner_id"