Skip to content

Shows the nearest tweets to a particular Longitude/Latitude coordinate

Notifications You must be signed in to change notification settings

fosrias/geolocation-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== Twitter Geolocation Demo

This application demonstrates streaming twitter statuses into a mongodb capped collection in order
to view the top 50 tweets nearest a particular latitude/longitude coordinate.

Install and start mongodb: http://www.mongodb.org/display/DOCS/Quickstart+OS+X

In order to start streaming the data, use:

rake twitter:stream CREDENTIALS=twitter_username,twitter_password

You must have set up your twitter account per the streaming API documents.

To run tests, just run: rspec spec. It is not necessary to rake test:db:prepare.

To use, enter Latitude and Longitude coordinates and click search. You can click on both map markers and
screen name links to open a window showing the corresponding tweet on the map.

About

Shows the nearest tweets to a particular Longitude/Latitude coordinate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published