Simple show case of consuming twitter api and performing sentiment analysis over tweets
You need the following dependencies installed:
- Gradle
- ElasticSearch
- Kibana
- You need to get credentials to access
Twitter APIfrom here: Twitter-app once you get your credentials create a file calledtwitter4j.propertiesundersrc/main/resourcesand add your credentials in it, use thetemplateunder resources.
After installing Elasticsearch just go to the bin directory and fire up elasticsearch or
for windows bin/elasticsearch
after that you need to run gradle run
use the following command in your terminal while Elasticsearch service is up,
curl -XDELETE 'http://localhost:9200/twitter'