Twitter Connector 12.13

# 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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Twitter Connector 12.13

Topic Title: Expansions