Product DocsMenu

Modifying Hidden Twitter v2 Source Parameters

The Add Source and Source: ... General pages of the Administration Tool present the parameters with which you can configure the Twitter v2 connector for most setups. More advanced, or seldom used parameters, are hidden. You can choose to make one or more of these parameters appear in the Add Source and Source: ... General pages of the Administration Tool so that you can change their default value. Consider changing hidden parameter values when you encounter issues, or when you want to fine tune connector performance.

The following list describes the advanced hidden parameters available with Twitter v2 sources. The parameter type (integer, string, etc.) appears between parentheses following the parameter name.

NumberOfRetries (Integer)

The maximum number of times a failing request will be retried. The default value is 5.

RequestTimeout (Integer)

The maximum amount of time (in seconds) an HTTP request can be executed before being canceled. The default value is 60.

RetrieveProtectedUsers (true, false)

Whether or not to retrieve protected users. If this parameter is set to true, protected users and their Tweets will be accessible to everyone. The default value is false.

FollowedUsersPerPage (Integer)

The number of users per page when retrieving users followed by a user, between 1 and 200. The default value is 200.

NumberOfUsersPerPage (Integer)

The number of users per page when retrieving users from a list, between 1 and 5000. The default value is 5000.

TweetsPerTimelinePage (Integer)

The number of Tweets per page when retrieving user timelines, between 1 and 200. The default value is 200.

TweetsPerSearchPage (Integer)

The number of Tweets per page when retrieving Tweets from a search query, between 1 and 100. The default value is 100.

TweetsPerCollectionPage (Integer)

The number of Tweets per page when retrieving Tweets from a collection, between 1 and 200. The default value is 200.

SearchResultsType (recent, mixed, popular)

The type of results retrieved with a search query, including mention Tweets. Can be either recent, mixed or popular. The default value is mixed.

Note: Popular usually returns around 15 Tweets.

SearchResultIsoLanguageCode

The ISO 639-1 language code to filter Tweets retrieved with a search query, including mention Tweets (does not work when retrieving Tweets from a user). The default value is none.

To modify hidden Twitter v2 source parameters

  1. Refer to Adding an Explicit Connector Parameter to add one or more Twitter v2 source parameters.

  2. To modify parameter values, from the Administration Tool:

    • For a new Twitter v2 source:

      1. Select Index > Sources and Collections.

      2. Under Collections, select the collection in which you want to add the source.

      3. Under Sources, click Add.

      4. In the Add Source page, edit the newly added advanced parameter value.

    • For an existing Twitter v2 source:

      1. Select Index > Sources and Collections.

      2. Under Collections, select the collection containing the source you want to modify.

      3. Under Sources, click the existing Twitter source in which you want to modify the newly added advanced parameter.

      4. In the Source: ... General page, edit the newly added advanced parameter value.

  3. Rebuild your Twitter v2 source to apply the changes to the parameters (see Applying an Action to a Collection or a Source).

People who viewed this topic also viewed