- Open PS Terminal.
- Make sure it runs
.venv/Scripts/Activate.ps1
. - Set environment variable
TOKEN
to your bearer token from Twitter Developer Portal, using this command:$env:TOKEN = "<your_token>"
. - Set environment variable
CONNECTION_STRING
for accessing Storage Account. - Make sure Azurite is installed, and run Azurite Blob Service (
Azurite: Start
from Command Palette). It should be listening on port 10000. - Run
func start
.
- Pass bearer token to code in production (KeyVault?)
- Same for connection strings to Queues/Tables
- Add more stats such as:
- Most used hashtag/word/emoji/gif in tweets
- Most commented to user
- Worst ratio you received
liked_tweets
metric
- Edge cases:
- 429 while handling a user
- User responding twice
- Non-429 error during processing
- ...