Expansions

Specifies additional information to retrieve from each tweet.

When the connector requests information about a tweet, the Twitter V2 API returns information about related items. For example, a tweet has an author so Twitter returns an identifier that represents the author. Twitter might also return an identifier for an associated image, or an associated tweet that was retweeted, quoted, or replied to.

You can set this parameter to obtain more information about the related items. For example, set Expansions=referenced_tweets.id to request more information about associated tweets. In this case Twitter might return the text of a quoted tweet, and the connector adds the information to the IDOL document.

For a list of possible values for this parameter, refer to the Twitter API documentation.

This parameter applies only when you set ApiVersion to V2.

Type: String (comma-separated list)
Default: attachments.poll_ids,attachments.media_keys,author_id,entities.mentions.username,geo.place_id,in_reply_to_user_id
Required: No
Configuration Section: TaskName or FetchTasks
Example: Expansions=attachments.poll_ids,attachments.media_keys,geo.place_id
See Also:

To configure what information is returned for each expanded item, use the following parameters:

MediaFields

PlaceFields

PollFields

TweetFields

UserFields