Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 646 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 646 Bytes

twitter-sample-endpoint

This app reads the sample Twitter endpoint API and keeps track of the following metrics:

  • Total number of tweets received
  • Average tweets per hour/minute/second
  • Top emojis in tweets
  • Percent of tweets that contains emojis
  • Top hashtags
  • Percent of tweets that contain a url
  • Percent of tweets that contain a photo url (pic.twitter.com or instagram)
  • Top domains of urls in tweets

Running the app

First set the following environmental variables

  • CONSUMER_KEY
  • CONSUMER_SECRET
  • USER_KEY
  • USER_SECRET

Then run the app using the following command

$ sbt run

Web interface

http://localhost:8080