This feeder creates a stream from tweets. It is possible to define the keywords, or the users to follow.
Based on go-twitter
Parameters
Parameter | Type | Default | Description |
---|---|---|---|
consumerKey | STRING | empty | Twitter Auth |
consumerSecret | STRING | empty | Twitter Auth |
accessToken | STRING | empty | Twitter Auth |
accessSecret | STRING | empty | Twitter Auth |
keywords | STRING | empty | comma separated keywords that should match on the tweets |
users | STRING | empty | comma separated users list |
languages | STRING | empty | filter by language |
disable_retweet | BOOL | “false” | don’t include retweets in the stream |
disable_quoted | BOOL | “false” | don’t include quoted tweets in the stream |
... | <twitter: users="goofy, mickeymouse",keywords="movie, cartoon"> | ...
Output
Text
The main
field of the Message will contain:
- the text of the tweet if it is a normal tweet;
- the text of the retweeted message if it is a retweet;
- the text of the quote if it is a quote tweet;
Extra
Name | Description |
---|---|
link | link to the tweet |
language | language used for the tweet |
username | author of the tweet |
quoted | “true” if the tweet if a quoted tweet, “false” otherwise |
retweet | “true” if the tweet if a retweeted tweet, “false” otherwise |
original_username | author of the original tweet if it is a retweet or quoted tweet |
original_language | language of the original tweet if it is a retweet or quoted tweet |
original_status | text of the original tweet if it is a retweet or quoted tweet |
original_link | link of the original tweet if it is a retweet or quoted tweet |
In some circumstances the extra field could be empty.
Examples
Soon…