Permalink
Browse files

fix foursquare rate limit

  • Loading branch information...
1 parent c1b8e9e commit 53cc162994f4c5326eea1cd324d6c70679d2d454 @stilist stilist committed Jun 15, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 statusboard/assets/javascripts/apps/foursquare/boot.js.coffee
@@ -1,10 +1,8 @@
Zepto ($) ->
- # Rate limit of 5000 requests per hour per `client_id`, or one request per
- # 1.3 seconds. A delay of ten seconds means thirteen users can have the
- # statusboard open simultaneously.
+ # Rate limit of 500 requests per endpoint per hour, or one every 7.5 seconds.
#
- # See: http://instagr.am/developer/endpoints/#limits
- Foursquare.State.autorefresh_delay = seconds_to_ms 2
+ # See: https://developer.foursquare.com/overview/ratelimits
+ Foursquare.State.autorefresh_delay = seconds_to_ms 10
Foursquare.State.tag_name = "wtmisfive"
Foursquare.State.venue_id = "4aa7fa57f964a5206b4e20e3"

0 comments on commit 53cc162

Please sign in to comment.