Skip to content

JamesTrigg/twitter-streaming-api-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

We need Node, npm, bower and MongoDB for this to work. Then in the project directory:

$ npm install
$ bower install

Mongodb must be installed and started, otherwise you will get a connection error

Twitter stream

If you go to http://localhost:3000/fight you will get the Twitter stream

Oauth.js for Facebook and Twitter

var ids = { facebook: { clientID: "", clientSecret: "", callbackURL: "http://localhost:3000/auth/facebook/callback" }, twitter: { consumerKey: "", consumerSecret: "", callbackURL: "http://localhost:3000/auth/twitter/callback", accessToken: "", accessTokenSecret: "" } }

module.exports = ids

About

Example with Twitter streaming API, Node.js and React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published