Skip to content

A node service to return tweets what people saying about your event

License

Notifications You must be signed in to change notification settings

yanmagale/twitter-event-audience

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Event Audience

A node service to return tweets what people saying about your event

How it works

This project using a Twitter JS Client to connect with Twitter API and get informations

How to Use

  • 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"
}

Next Steps

  • Update online service with new features
  • Improve error responses
  • Improve structure to mount response
  • Create a unit tests

About

A node service to return tweets what people saying about your event

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published