forked from kenchang408/twitter-sentiment-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Currently taking a course on Coursera.org called Introduction to Data Science. The very first programming assignment is called Twitter Sentiment Analysis in Python. I would like to keep track of my progress of the source code for this project and if people want to contribute after the class is over that is good. This is also used as a tutorial f…
saikrishnaklu/twitter-sentiment-python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.py To get credentials: <ul> <li>Create a twitter account if you do not already have one.</li> <li>Go to https://dev.twitter.com/apps and log in with your twitter credentials.</li> <li>Click "create an application"</li> <li>Fill out the form and agree to the terms. Put in a dummy website if you don't have one you want to use.</li> <li>On the next page, scroll down and click "Create my access token"</li> <li>Copy your "Consumer key" and your "Consumer secret" into twitterstream.py</li> <li>Click "Create my access token." You can <a href="https://dev.twitter.com/docs/auth">Read more about Oauth authorization.</a></li> <li>Open twitterstream.py and set the variables corresponding to the consumer key, consumer secret, access token, and access secret</li> <li>Run the following and make sure you see data flowing.</li> <pre> $ python twitterstream.py </pre> </li> </ul>
About
Currently taking a course on Coursera.org called Introduction to Data Science. The very first programming assignment is called Twitter Sentiment Analysis in Python. I would like to keep track of my progress of the source code for this project and if people want to contribute after the class is over that is good. This is also used as a tutorial f…
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published