Twitter Connector 25.4
Twitter Connector Help

# 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 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

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Twitter Connector 25.4

Topic Title: Expansions