Skip to content

polymer-day/polymerday-twitter-stream-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter stream API

This API is in charge of opening a stream connection with Twitter API, to track a #hashtag and emit tweet events throught web sockects technology

Important: The API works with the web component polymer-twitter-realtimeline

Install Node and npm

First, make sure you have the Node JS and npm installed.

Config.json file

Create a Twitter App, config it, get the necessary keys and tokens and put then in config.json file.

Instead config.json file, you can create the corresponding Environment Variables if you want

{
    "consumer_secret": "your_consumer_secret",
    "consumer_key": "your_consumer_key",
    "token": "your_token",
    "token_secret": "your_secret"
}

Server up and Running

$ npm install
$ npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published