Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xta/foursquare_mapped
get all your 4sq checkins and map them
https://github.com/xta/foursquare_mapped
foursquare-api rails ruby
Last synced: about 1 month ago
JSON representation
get all your 4sq checkins and map them
- Host: GitHub
- URL: https://github.com/xta/foursquare_mapped
- Owner: xta
- Created: 2013-07-29T05:22:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T02:37:51.000Z (almost 2 years ago)
- Last Synced: 2023-03-11T13:18:43.506Z (over 1 year ago)
- Topics: foursquare-api, rails, ruby
- Language: Ruby
- Homepage:
- Size: 188 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Foursquare Mapped
Rails 4.2 + PostgreSQL sample app for getting all your Foursquare check ins.
***Warning: this app is not secure and NOT for production usage. Use at your own risk.***
## Setup Locally
git clone [email protected]:xta/Foursquare_Mapped.git
cd Foursquare_Mapped/
bundle# create foursquare developer account at https://developer.foursquare.com/
# create a new foursquare app at https://foursquare.com/developers/register
![App Registration Page](/../master/public/dev_4sq_register_app.png?raw=true)`Your app name` can be anything.
`Download / welcome page url` is `http://localhost:3000`
`Your privacy policy url` is `http://localhost:3000/privacy`
`Redirect URI(s)` is `http://localhost:3000/users/auth/foursquare/callback`
Click `Save Changes`
You will be presented with your new app's page. Make note of `Client id` and `Client secret`.
cp config/secrets.yml.example config/secrets.yml
# update config/secrets.yml file with your foursquare keys (Client id and Client secret)rake db:create db:schema:load
rake db:schema:load RAILS_ENV=test#### Usage Locally
rails s
open http://localhost:3000/#### Run all tests
rake## License
Foursquare Mapped is released under the [MIT License](http://opensource.org/licenses/MIT).