Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Activator showing how to use Spray Client to implement a streaming Twitter client
branch: master

Merge pull request #3 from lauraglasu/master

changed the Sonatype resolver url
latest commit 34b95d3036
@janm399 janm399 authored
Failed to load latest commit information.
project Initial commit
src Tutorial
.gitignore Initial commit
LICENSE Initial commit Readme and config
build.sbt changed the Sonatype resolver url

Spray client, Akka and streaming tweets

Twitter streaming & simple sentiment analysis application. To build & run the plain-vanilla version of the application, run sbt run. Then you can type in the track command, which expects the Twitter search term to track. See for track filter.

Twitter application

Before you run the application, create the ~/.twitter/activator file, containing four lines; these lines represent your twitter consumer key and secret, followed by token value and token secret. To generate these values, head over to, create an application and add the appropriate lines to this file. An example ~/.twitter/activator is


Naturally, the you will need to replace the *s with the values in your consumer token and secret; and token value and secret.


Having added the file above, you can see the application "in action", by run sbt run in an ANSI terminal. Once running, type in track christmas, track daley, or anything else that tickles your fancy.

Something went wrong with that request. Please try again.