1 | ###
|
2 | Retrieve foursquare checkins with OAuth2 access_token
|
3 | ###
|
4 |
|
5 | foursquare = require('./../lib/foursquare')
|
6 |
|
7 | fsq = new foursquare token: 'OAuth2 access_token'
|
8 |
|
9 | fsq.checkins 'self', limit: 5, (error, data) ->
|
10 | throw new Error error if error
|
11 | console.log data |
\ | No newline at end of file |