Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for Twitter
  3. PowerExchange for Twitter Configuration
  4. Twitter and Twitter Streaming Connections
  5. Twitter and Twitter Streaming Data Objects
  6. Twitter Mappings
  7. Datatype Reference

PowerExchange for Twitter User Guide

PowerExchange for Twitter User Guide

Query Parameter for Twitter Streaming Resources

Query Parameter for Twitter Streaming Resources

Use the query parameter to specify the search criteria.
When you create a Twitter streaming data object, you specify the query parameter that the Data Integration Service uses to search for real-time data.
The sample hose type does not require a query parameter. A sample hose type returns a random sample of Twitter statuses.
The filter hose type requires a mandatory parameter. You can use Twitter search operators such as count, track, and location with the mandatory parameter. The operators are defined in the Streaming API Twitter documentation.
The following table describes the mandatory parameter for Filter hose type:
Hose Type
Mandatory Parameter
Description
Filter
TOPICS
Search keyword. Specify up to 144 comma-separated keywords for the tweets you want to extract. For example, you specify the following query parameter to extract the tweets that contain the keywords:
TOPICS=Lenovo,Harley Davidson,BMW,Opel

0 COMMENTS

We’d like to hear from you!