Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipanjans/tweetsense
Sentiment analysis of live Twitter Stream
https://github.com/dipanjans/tweetsense
Last synced: 11 days ago
JSON representation
Sentiment analysis of live Twitter Stream
- Host: GitHub
- URL: https://github.com/dipanjans/tweetsense
- Owner: dipanjanS
- Created: 2013-07-04T20:59:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-04T21:10:10.000Z (over 11 years ago)
- Last Synced: 2024-10-07T13:41:07.245Z (about 1 month ago)
- Language: Python
- Size: 13.2 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.html
Awesome Lists containing this project
README
About twitterstream.py:
Used to fetch live stream data from twitter.
Requires oauth2, which is not part of the EnThought Python library.
usage:
Open the program and replace access_token_key, access_token_secret, consumer_key, and consumer_secret with the appropriate values. Then run
$ python twitterstream.pyTo get credentials:
- Create a twitter account if you do not already have one.
- Go to https://dev.twitter.com/apps and log in with your twitter credentials.
- Click "create an application"
- Fill out the form and agree to the terms. Put in a dummy website if you don't have one you want to use.
- On the next page, scroll down and click "Create my access token"
- Copy your "Consumer key" and your "Consumer secret" into twitterstream.py
- Click "Create my access token." You can Read more about Oauth authorization.
- Open twitterstream.py and set the variables corresponding to the consumer key, consumer secret, access token, and access secret
- Run the following and make sure you see data flowing.
$ python twitterstream.py