To automatically start the synchronize action and retrieve tweets from a Twitter search, 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 retrieve information from a Twitter search
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
The fetch tasks that you configure are run in sequence. To run tasks in parallel, set the TaskThreads
parameter.
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]
In the new section, set the following parameters:
Search
|
The query to use for searching Twitter. |
ResultType
|
(Optional) The type of results to return when the connector searches Twitter.
|
MaxResults
|
(Optional) The maximum number of tweets to ingest. |
(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
.
|