@KNIME Twitter Nodes

August 5, 2014 — by Rosaria Silipo

The new KNIME Twitter nodes allow you to search for Tweets on Twitter, retrieve information about users, post Tweets via KNIME and much more.


Twitter Table


To use the Twitter nodes you need a Twitter account, create a Twitter App and setup a Twitter API Connector node, described by the following steps:

  1. Go to and login with your Twitter account
  2. Click 'Create New App'
  3. Fill out the form
  4. Click 'API Keys'
  5. Click 'Create my access token'
  6. Use the API key, API secret, Access token and Access token secret to setup the Twitter API Connector node


Twitter Key Setup


The Twitter Search node allows you to search for Tweets by specific queries. Use the same syntax for these queries as for web based queries You can specify the maximal number of results as well as what kind of Tweets will be returned as result: the most popular Tweets, the most relevant, or a mixture of both. Note that the actual number of results might vary. Loading the profile images can slow down the execution of the node considerably.


The Twitter Timeline node downloads Tweets as a timeline. They can either be Tweets of the home timeline, mentions, Retweets or Tweets from a specific user.

The home timeline contains the Tweets shown on your Twitter 'Home' page, which are your own Tweets as well as Tweets of followed users. The mentions timeline contains Tweets in which you are mentioned. The Retweets timeline contains Retweets of your Tweets. With the user timeline you can get all recent Tweets of a specific user.


The Twitter Users node allow you to retrieve detailed information on Twitter users, such as their location, number of followers, and much more. The node requires a data table containing a column of Twitter user names as input and can be used in combination with the Twitter Search and Twitter Timeline nodes.

Post Tweet

With the Twitter Post Tweet node you can post tweets directly from KNIME. The text is specified in the dialog and variables can be inserted anywhere in the text. The tweet will be posted on execution.


Twitter Post Tweet Node

Don't forget to follow KNIME on Twitter: @KNIME