Twitter

Twitter

This feeder creates a stream from tweets. It is possible to define the keywords, or the users to follow.
Based on go-twitter

Parameters

ParameterTypeDefaultDescription
consumerKeySTRINGemptyTwitter Auth
consumerSecretSTRINGemptyTwitter Auth
accessTokenSTRINGemptyTwitter Auth
accessSecretSTRINGemptyTwitter Auth
keywordsSTRINGemptycomma separated keywords that should match on the tweets
usersSTRINGemptycomma separated users list
languagesSTRINGemptyfilter by language
disable_retweetBOOL“false”don’t include retweets in the stream
disable_quotedBOOL“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

NameDescription
linklink to the tweet
languagelanguage used for the tweet
usernameauthor 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_usernameauthor of the original tweet if it is a retweet or quoted tweet
original_languagelanguage of the original tweet if it is a retweet or quoted tweet
original_statustext of the original tweet if it is a retweet or quoted tweet
original_linklink of the original tweet if it is a retweet or quoted tweet
In some circumstances the extra field could be empty.

Examples