peckjon / sentimental-bird

A tool to inspect the most recent Tweets by (and about) specific Twitter users.

Home Page:http://sentimental-bird.appspot.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Synopsis

A tool to inspect the most recent Tweets by (and about) specific Twitter users.

Uses AnalyzeTweets and AnalyzeTwitterUser to retrieve tweets, run sentiment analysis, and extract keywords.

Sample

sentimental-bird.appspot.com

Contributors

Jon Peck: github.com/peckjon

License

MIT

Structure

The frontend is fairly straightforward AngularJS. The backend is set up to run on Google App Engine, but doesn't use any GAE-specific frameworks, so you can easily port the Python to another platform.

This application uses algorithmia-python and dependent libraries (enum, requests, and six), included for simplicity.

'app' contains all frontend code (JS, HTML, and CSS).

'main.py' contains all backend code, mostly simple handlers to pull and restructure data from Algorithmia.

'settings.py' contains API keys and other constants.

Installation

You will need to obtain an account and API keys from Algorithmia, and to create a Twitter app to obtain app and OAuth tokens

Modify the API keys in settings.py accordingly.

To run in Google App Engine, create a new project, adjust the application param in app.yaml, and deploy.

About

A tool to inspect the most recent Tweets by (and about) specific Twitter users.

http://sentimental-bird.appspot.com

License:MIT License


Languages

Language:Python 98.8%Language:HTML 0.7%Language:JavaScript 0.4%Language:CSS 0.1%