Expansions: Expansions

ExpansionsR Documentation

Expansions

Description

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()

Arguments

tweet, user, list

tweet_expansions(), user_expansions() and tweet_expansions().

attachments

Add attachments values? Default yes.

referenced_tweets

Add referenced_tweets values? Default yes.

Details

The set_expansions can be used to prepare the arguments for other rtweet functions.

Value

A character with the characters of valid expansions.

References

https://developer.twitter.com/en/docs/twitter-api/expansions

See Also

Fields, set_fields()

Examples

tweet_expansions()
user_expansions()
set_expansions()

rtweet documentation built on May 29, 2024, 7:47 a.m.