Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 32 lines (17 sloc) 1.259 kB
30ecb11 @pierrevalade initial commit
authored
1 # Foursquare Rails Examples
2
3 This is a working Rails application that connects to the Foursquare API using [Quimby](http://github.com/groupme/quimby).
aad569e @whaleen url fix :)
whaleen authored
4 The application is live on Heroku at [http://foursquare-rails-examples.heroku.com](http://foursquare-rails-examples.heroku.com)
30ecb11 @pierrevalade initial commit
authored
5
6 ## Configuration
7
8 ### Register your application
9
10 First, you need to [register your application](https://foursquare.com/oauth).
ada3b6e @pierrevalade updated README
authored
11 Be sure to set your callback url to something like `{MY_APP_ROOT_URL}/session/callback` (this could be http://localhost:3000/session/callback).
30ecb11 @pierrevalade initial commit
authored
12
13 Then, update `config/application.yml` with your `app_id` and `app_secret`.
14
15 ### Try it!
16
17 Launch your server and that's it! You have an application that connected to the [Foursquare v2 API](http://developer.foursquare.com).
18
19 ### Have a look at the code
20
21 Go check `app/controllers/examples_controller.rb`
22
23 ### Documentation
24
25 Documentation of Quimby, the Ruby wrapper used in this example application, is available [here](http://github.com/groupme/quimby).
26
ada3b6e @pierrevalade updated README
authored
27 Documentation of Foursquare API is available [here](http://developer.foursquare.com).
30ecb11 @pierrevalade initial commit
authored
28
ada3b6e @pierrevalade updated README
authored
29 ## Fork it!
30ecb11 @pierrevalade initial commit
authored
30
aad569e @whaleen url fix :)
whaleen authored
31 Want to contribute? Add some examples? That's great! Fork this project and send a pull request :O - I'll add your name to the list of contributors.
Something went wrong with that request. Please try again.