-
Notifications
You must be signed in to change notification settings - Fork 16
whichlight/nodejs-leaflet-eventstreams
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
--nodejs-leaflet-eventstreams- This webapp makes use of node, event-streams and leaflet. It queries the Twitter Streaming API with location so that only tweets that are geotagged with coordinates are returned. The most recent tweets are pulled in and displayed on the map. There is no database- tweets are displayed as they come in. Much of the server side is based on nodejs-stream https://github.com/chovy/nodejs-stream Leaflet is a fantastic mapping library http://leaflet.cloudmade.com/ More deets on the twitter streamin api for location https://dev.twitter.com/docs/streaming-apis/parameters#locations To use, download the code and enter your twitter username and password in the config.js file. Install node and any dependencies using npm. >node server.js This will start the node server, the go to localhost:8000 in the browser to see the world map and watch it populate. Sometimes it takes a few minutes for the API to fetch the tweets. Get in touch on twitter, I am @kawantum Check out my other projects at whichlight.com
About
mapping tweets real time using the streaming location api
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published