Simple tweet analyser using Nodejs.
In this:
- NodeJS
- Express
- Twit
- EJS
- Sentiment
* NodeJS (version above 8)
- Download Zip or Import using fork the repository and then to your desktop.
- run
npm install
to install all node dependencies in your project. - Add the config.js file in the project and add following code into the file
var T = new Twit({ consumer_key: '...', consumer_secret: '...', access_token: '...', access_token_secret: '...', timeout_ms: 60*1000, // optional HTTP })
- Then go to https://developer.twitter.com/en/apps and create new app and copy corresponding keys and paste in the config.js file.
- run
npm start
ornode index.js
here index.js is the main file. - open https://localhost:3000 to see the project
Feel free to contact for suggestions