Skip to content

Commit

Permalink
Up limit for foursquare checkin listing
Browse files Browse the repository at this point in the history
  • Loading branch information
Samy Pessé committed Oct 10, 2013
1 parent fc99488 commit 805ce75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/trackers/foursquare.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ module.exports = {

// Track user checkins
trackCheckins: function(user, userConfig) {
this.foursquare.Users.getCheckins(undefined, {}, userConfig.accessToken, function(err, data) {
this.foursquare.Users.getCheckins(undefined, {
'limit': 100
}, userConfig.accessToken, function(err, data) {
if (data == null
|| data.checkins == null
|| data.checkins.items == null) {
Expand Down

0 comments on commit 805ce75

Please sign in to comment.