A node service to return tweets what people saying about your event
This project using a Twitter JS Client to connect with Twitter API and get informations
-
Setup
- Clone this project
- Run
npm i
- Create a
.env
file with TwitterAPI Credentials.
Example
hastag = "#myawesomehastag" consumerKey = "myawesomeproject" consumerSecret = "myawesomeproject" accessToken = "myawesomeproject" accessTokenSecret = "myawesomeproject" callBackUrl = "myawesomeproject"
You will get this informations at Twitter API
-
Run
node app.js
in your terminal -
Call
http://localhost:3000/event-audience
You will received a similar response to this:
{
"item":"E taa chegaaando o #dfne2k17 :D :D",
"name":"Yan Magalhães",
"username":"yaanmagale",
"image":"http://pbs.twimg.com/profile_images/573808379103158272/jUaUrzy4_normal.jpeg"
}
- Update online service with new features
- Improve error responses
- Improve structure to mount response
- Create a unit tests