Twitter Connector 12.13

# Retrieve Information from a User's Timeline

To automatically start the synchronize action and retrieve tweets from a user's timeline, create a new fetch task by following these steps. The connector runs each fetch task automatically, based on the schedule that is configured in the configuration file.

To create a new Fetch Task

1. Stop the connector.
2. Open the configuration file in a text editor.

3. In the `[FetchTasks]` section of the configuration file, specify the number of fetch tasks using the `Number` parameter. If you are configuring the first fetch task, type `Number=1`. If one or more fetch tasks have already been configured, increase the value of the `Number` parameter by one (1). Below the `Number` parameter, specify the names of the fetch tasks, starting from zero (0). For example:

       [FetchTasks]
       Number=1
       0=MyTask

4. Below the `[FetchTasks]` section, create a new TaskName section. The name of the section must match the name of the new fetch task. For example:

       [FetchTasks]
       Number=1
       0=MyTask

       [MyTask]

1. Ensure that the relevant OAuth parameters are included in the task. For information about how to configure authentication, see Configure OAuth Authentication.

2. In the new section, set the following parameters:

   `TimelineScreenName` | The screen name of the user from which to retrieve tweets.

3. (Optional) Due to limitations of the Twitter API, the connector can only retrieve the most recent 3200 tweets made by the user. On the initial synchronize cycle, the connector retrieves the 3200 most recent tweets. On incremental synchronize cycles the connector retrieves the tweets made since the last synchronize cycle (up to a maximum of 3200). Micro Focus therefore recommends that you schedule the fetch task so that there are fewer than 3200 tweets between synchronize cycles. To specify how often the task runs, set the parameter `ScheduleRepeatSecs`.

   `ScheduleRepeatSecs` | The interval (in seconds) from the start of one scheduled synchronize cycle to the start of the next.

4. (Optional) If the connector machine is behind a proxy server, you might need to specify the host name, port, user name, and password for your proxy server by setting the parameters `ProxyHost`, `ProxyPort`, `ProxyUsername`, and `ProxyPassword`.

5. Save and close the configuration file. You can now start the connector.

© 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: Retrieve Information from a User's Timeline