From 1c56de814160ddc14b43d357f1290090e8f2d0b3 Mon Sep 17 00:00:00 2001 From: Elio Gavlinski Date: Mon, 25 Aug 2014 14:34:35 -0300 Subject: [PATCH] =?UTF-8?q?Ajustes=20nos=20par=C3=A2metros=20language=20e?= =?UTF-8?q?=20api=5Fversion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alterado o idioma de ‘en’ para ‘pt’, de modo a carregar as categorias em português (antigamente havia algum bug ao se utilizar em português) e atualizada a data de versionamento. --- FoursquareAPI.Class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FoursquareAPI.Class.php b/FoursquareAPI.Class.php index c0a32a3..393fa5c 100644 --- a/FoursquareAPI.Class.php +++ b/FoursquareAPI.Class.php @@ -58,7 +58,7 @@ class FoursquareApi { * @param string $language * @param string $api_version https://developer.foursquare.com/overview/versioning */ - public function __construct($client_id = false,$client_secret = false, $redirect_uri='', $version='v2', $language='en', $api_version='20140114'){ + public function __construct($client_id = false,$client_secret = false, $redirect_uri='', $version='v2', $language='pt', $api_version='20140825'){ $this->BaseUrl = "{$this->BaseUrl}$version/"; $this->ClientID = $client_id; $this->ClientSecret = $client_secret;