Pulls status changes from Twitter's streaming API
twitter, tweets, social media, status, json
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
Twitter Endpoint | Sample Endpoint |
| Specifies which endpoint data should be pulled from |
Consumer Key | The Consumer Key provided by Twitter | ||
Consumer Secret | The Consumer Secret provided by Twitter Sensitive Property: true | ||
Access Token | The Access Token provided by Twitter | ||
Access Token Secret | The Access Token Secret provided by Twitter Sensitive Property: true | ||
Languages | A comma-separated list of languages for which tweets should be fetched | ||
Terms to Filter On | A comma-separated list of terms to filter on. Ignored unless Endpoint is set to 'Filter Endpoint'. The filter works such that if any term matches, the status update will be retrieved; multiple terms separated by a space function as an 'AND'. I.e., 'it was, hello' will retrieve status updates that have either 'hello' or both 'it' AND 'was' | ||
IDs to Follow | A comma-separated list of Twitter User ID's to follow. Ignored unless Endpoint is set to 'Filter Endpoint'. | ||
Locations to Filter On | A comma-separated list of coordinates specifying one or more bounding boxes to filter on.Each bounding box is specified by a pair of coordinates in the format: swLon,swLat,neLon,neLat. Multiple bounding boxes can be specified as such: swLon1,swLat1,neLon1,neLat1,swLon2,swLat2,neLon2,neLat2.Ignored unless Endpoint is set to 'Filter Endpoint'. |
Name | Description |
---|---|
success | All status updates will be routed to this relationship |
Name | Description |
---|---|
mime.type | Sets mime type to application/json |