|
@@ -32,10 +32,11 @@
|
|
|
(aget "code" meta) (aget "errorType" meta) (aget "errorDetail" meta))))
|
|
(aget "code" meta) (aget "errorType" meta) (aget "errorDetail" meta))))
|
|
|
(aget "response" resp)))
|
|
(aget "response" resp)))
|
|
|
|
|
|
|
|
-(defun fsq-fetch-checkins (&optional after-timestamp)
|
|
|
|
|
|
|
+(defun fsq-fetch-checkins (&optional after-timestamp limit)
|
|
|
(aget "recent"
|
|
(aget "recent"
|
|
|
(%fsq-api-call "checkins/recent"
|
|
(%fsq-api-call "checkins/recent"
|
|
|
- (list (cons "afterTimestamp" (or after-timestamp "0"))))))
|
|
|
|
|
|
|
+ (list (cons "afterTimestamp" (or after-timestamp "0"))
|
|
|
|
|
+ (cons "limit" (or limit "20"))))))
|
|
|
|
|
|
|
|
(defun fsq-fetch-new-checkins ()
|
|
(defun fsq-fetch-new-checkins ()
|
|
|
(let ((recent (fsq-fetch-checkins *fsq-last-timestamp*)))
|
|
(let ((recent (fsq-fetch-checkins *fsq-last-timestamp*)))
|