Modeling Guide for SAP Data Hub

Tweet Stream Simple Example (Beta)

This is a simple example of how to use the Tweet Stream operator.

The upper branch simply converts the output message of the Tweet Stream operator to a string and prints it into the Terminal operator.

The bottom branch prints, in the Terminal, the status returned by the twitter API.

Prerequisites

The following configuration fields are required to run the graph:
  • accessToken, accessTokenSecret, consumerKey, and consumerSecret.

Those can be obtained by creating an app in Application ManagementInformation published on non-SAP site and accessing the "Keys and Access Tokens" section in the app management page.