I try to get venues by foursquare api. The steps that I tried are:
- registered my app;
- obtain access_token;
- download the foursquare-aync library
this is the code that I try to used but it didn't work:
require_once("Api_Foursquare_EpiCurl");
require_once("Api_Foursquare_EpiFoursquare");
require_once("Api_Foursquare_EpiSequence");
$fsObj = new EpiFoursquare($clientId, $clientSecret, $accessToken);
$venue = $fsObj->get('/venues/search', array('ll' => "{$myLat},{$myLng}"));
In particular I didn't understand the functionality of the callback that I set up in the registration. Thanks!