Browse files

wrong url for recent checkins

  • Loading branch information...
1 parent 4db5636 commit dfc7dbdf8aaf6910df665a9ec31d346924054fa5 @tjgillies committed Jul 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/Foursquare_library.php
View
2 libraries/Foursquare_library.php
@@ -36,7 +36,7 @@ function recent_checkins(){
//$limit = $_GET["limit"];
//$limit = $limit || 2;
$limit = 2;
- $recent_url = "https://api.foursquare.com/v2/checkins/recent?oauth_token=$access_token&v=20120717&limit=2";
+ $recent_url = "https://api.foursquare.com/v2/users/self/checkins?oauth_token=$access_token&v=20120717&limit=2";
//error_log($recent_url);
$checkin_data = json_decode(file_get_contents($recent_url));
//error_log(json_encode($checkin_data));

0 comments on commit dfc7dbd

Please sign in to comment.