Wave Twitter Sentiment Application
This application allows you to search for Twitter hashtags and do sentiment analysis using VaderSentiment
Running this App Locally
System Requirements
- Python 3.6+
- pip3
- JRE 11+ (needed to run H2O-3)
- NodeJS (Only needed for Run integration tests on local machine)
1. Run the Wave Server
New to H2O Wave? We recommend starting in the documentation to download and run the Wave Server on your local machine. Once the server is up and running you can easily use any Wave app.
2. Setup Your Python Environment
git clone git@github.com:h2oai/wave-apps.git
cd wave-apps/twitter-sentiment
make setup
3. Run the App
make run
4. View the App
Point your favorite web browser to localhost:10101
Running in the H2O AI Hybrid Cloud
This application uses an app secret for the Twitter login credentials so that it can be entered automatically upon the start of the app, avoiding manual/client login.
h2o secret create twitter-sentiment-secrets --from-literal=consumer_key=<CONSUMER KEY> --from-literal=consumer_secret=<CONSUMER SECRET> --from-literal=access_token=<ACCESS TOKEN> --from-literal=access_token_secret=<ACCESS TOKEN SECRET>