This program get real time tweets that contains a given keyword.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
KeywordTweets.scala
README.md
tweets.sbt

README.md

Twitter tweets in real time using Spark Streaming and Scala

Overview

This program get real time tweets that contains a given keyword. Made using Spark and its Scala API.

Instructions

This program requires 5 parameters to be sent via the command line.

./bin/spark-submit --class KeywordTweets /path/to/KeywordTweets.jar <twitter Consumer Key> <twitter Consumer Secret> <twitter Access Token> <twitter Access Secret> <keyword to search>

Project

This repository contains two files: the program (KeywordTweets.scala) and the sbt file needed to compile it (tweets.sbt).

Notes

This work include code licensed under the Apache License, 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

The code taken is from the official Apache Spark repository: link