Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xdevplatform/weekly-tweet-sentiment
A tutorial which walks you through how you can create code that pulls your Tweets from the past 7 days and gives you a score to let you know exactly how your week has been.
https://github.com/xdevplatform/weekly-tweet-sentiment
azure python twitter twitter-api twitter-sentiment-analysis
Last synced: about 9 hours ago
JSON representation
A tutorial which walks you through how you can create code that pulls your Tweets from the past 7 days and gives you a score to let you know exactly how your week has been.
- Host: GitHub
- URL: https://github.com/xdevplatform/weekly-tweet-sentiment
- Owner: xdevplatform
- License: apache-2.0
- Created: 2020-05-28T17:01:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T15:26:55.000Z (about 4 years ago)
- Last Synced: 2024-04-22T01:00:37.780Z (7 months ago)
- Topics: azure, python, twitter, twitter-api, twitter-sentiment-analysis
- Language: Jupyter Notebook
- Homepage: https://blog.twitter.com/developer/en_us/topics/tips/2020/how-to-analyze-the-sentiment-of-your-own-tweets.html
- Size: 72.3 KB
- Stars: 22
- Watchers: 18
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# How to analyze the sentiment of your own Tweets
Tweets combined with a sentiment score can give you a gauge of your Tweets in a quantitative way. To put some data behind the question of how you are feeling, you can use Python. This code sample uses the [Recent Search endpoint of Twitter Developer Labs](https://developer.twitter.com/en/docs/labs/recent-search/overview) and [Microsoft Azure's Text Analytics Cognitive Service](https://azure.microsoft.com/en-us/services/cognitive-services/text-analytics/) to detect languages and determine sentiment scores.
For this code to run you will need to set up a configuration file with your secrets, a sample of this can be found under `config.yaml`. Be sure to add your `config.yaml` to your `.gitignore` and check out [our guide on securing keys and tokens](https://developer.twitter.com/en/docs/basics/authentication/guides/securing-keys-and-tokens).
For a step by step guide be sure to take a look at the [blog post on the subject](https://blog.twitter.com/developer/en_us/topics/tips/2020/how-to-analyze-the-sentiment-of-your-own-tweets.html).
## Support
Create a [new issue](https://github.com/twitterdev/weekly-tweet-sentiment/issues) on GitHub.## Contributing
We feel that a welcoming community is important and we ask that you follow Twitter's
[Open Source Code of Conduct](https://github.com/twitter/code-of-conduct/blob/master/code-of-conduct.md)
in all interactions with the community.## License
Copyright 2020 Twitter, Inc.
Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0