Use the Twitter data set to filter tweets according to the keywords that you specify. First, create a Twitter data set to connect with the Twitter API. Next, reference the data set from a data flow and use the Free Text Model rule to analyze the text-based content of tweets.
Caution: Do not reference one instance of the Twitter data set in multiple data flows. Stopping one of such data flows, stops the Twitter data set in the other data flows.
Prerequisites:
Before you create a Twitter data set, complete the following tasks:
Note: The Applies-to class for Twitter data sets must always be Data-Social-Twitter.
Optional: Enter the Klout score API key.
Optional: In the Keywords section, click Add keyword and enter the words that you want to find in the tweets.
You can also enter the Twitter authors that you want to find in tweets (for example, @JohnSmith).
Note: As a best practice, complete either the Keywords or Timeline section. If you leave both sections empty, you will analyze all the tweets on the platform.
Note: See the Twitter REST API documentation for information about limitations when specifying keywords and authors.
In the Search section, specify the retrieval settings for tweets:
Note: The Search section appears only when you select the Playback option in the Retrieve tweets section.