Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- www/model/Foursquare.php
- ...
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- ...
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- ...
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- ...
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- ...
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- ...
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- @@ -36,8 +36,8 @@ class Foursquare {
- // exit;
- }
- catch(OAuthException $E) {
- - print_r($E);
- - exit;
- + // print_r($E);
- + // exit;
- }
- }
- @@ -62,8 +62,9 @@ class Foursquare {
- }
- catch(OAuthException $E) {
- $user->fs_id = 0;
- - Auth::requestFoursquareAuthorization();
- - exit;
- + // Auth::requestFoursquareAuthorization();
- + // exit;
- + return $checkins;
- }
- // echo "<br />count:".count($response->checkins)."<br />";
- @@ -104,8 +105,8 @@ class Foursquare {
- }
- catch(OAuthException $E) {
- - print_r($E);
- - exit;
- + // print_r($E);
- + return;
- }
- $response = json_decode($oauth->getLastResponse());
- foreach ($response->categories as $category) {
Add Comment
Please, Sign In to add comment