I am using the Foursquare API for a web app, however the records i get from Foursquare API are not really accurate for the current location.
The Foursquare App on my mobile device always returns accurate result for the current location, but the results returned through the API for my web app is often different and not very accurate. Any ideas why there is a delta between the Foursquare results from 4Sq android app, and 4sq API?
Thanks.
//getting GPS locaiton through following
function doGeolocation() { if (navigator.geolocation) { navigator.geolocation.watchPosition(positionSuccess, positionError, { enableHighAccuracy:true });
} else {
positionError(-1);
} }
//foursquare API call
$apicall = "https://api.foursquare.com/v2/venues/search?ll=" . $_GET["geolat"] . "," . $_GET["geolong"] . "&limit=30&client_id=XXX";
--
To post to this group, send email to foursqu...@googlegroups.com
http://groups.google.com/group/foursquare-api