Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonaco/tweetverse
Function that scans twitter for hashtag, does sentiment analysis and posts original tweet in slack channel
https://github.com/simonaco/tweetverse
azure-functions sentiment-analysis serverless slack twitter
Last synced: 10 days ago
JSON representation
Function that scans twitter for hashtag, does sentiment analysis and posts original tweet in slack channel
- Host: GitHub
- URL: https://github.com/simonaco/tweetverse
- Owner: simonaco
- Created: 2019-03-04T09:45:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T05:02:12.000Z (over 3 years ago)
- Last Synced: 2024-10-11T12:52:34.211Z (26 days ago)
- Topics: azure-functions, sentiment-analysis, serverless, slack, twitter
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tweetverse | [![Build Status](https://dev.azure.com/sicotin/sicotin/_apis/build/status/simonaco.tweetverse?branchName=master)](https://dev.azure.com/sicotin/sicotin/_build/latest?definitionId=20&branchName=master)
## Deploy resources
[![Deploy to Azure](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fsimonaco%2Ftweetverse%2Fmaster%2Fazuredeploy.json)
## Prerequisites
1. A recent version of Node (8+)
1. VS Code: [here](https://code.visualstudio.com/download/?WT.mc_id=tweetverse-github-sicotin)
1. Azure Functions CLI: [here](https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?WT.mc_id=tweetverse-github-sicotin)
1. Azure Functions Extension for VS Code: [here](https://marketplace.visualstudio.com/items/?WT.mc_id=tweetverse-github-sicotin&itemName=ms-azuretools.vscode-azurefunctions)
1. Azure account: [here](https://azure.microsoft.com/en-us/free/?wt.mc_id=tweetverse-github-sicotin)
## How to run this
1. Clone this repository and cd into *tweetverse*
1. Create *local.settings.json* file and add:
```json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "",
"FUNCTIONS_WORKER_RUNTIME": "node",
"BEARER_TOKEN":"YOUR-TWITTER-TOKEN-HERE",
"TEXT_ANALYTICS_API_KEY":"YOUR-API_KEY-HERE",
"SLACK_API_URL":"YOUR-URL-HERE",
}
}
```1. Run ```npm i``` and ```npm start```
🙋🏼 Happy coding! 🙋🏼