libraries/Users/Social/abstractadapter.php
protected function get($url, $params, $parse = true){
		$curl = curl_init();
		curl_setopt($curl, CURLOPT_URL, $url . '?' . urldecode(http_build_query($params)));
		curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
		curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
		$result = curl_exec($curl);
		curl_close($curl);

		if($parse) {
			$result = json_decode($result, true);
			}
			return $result;
		}
protected function get($url, $params, $parse = true){
		$curl = curl_init();
		curl_setopt($curl, CURLOPT_URL, $url . '?' . urldecode(http_build_query($params)));
		curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
		curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
		$result = curl_exec($curl);
		curl_close($curl);

		if($parse) {
			$result = json_decode($result, true);
			}
			return $result;
		}
protected function get ( $ url , $ params , $ parse = true ) { $ curl = curl_init ( ) ; curl_setopt ( $ curl , CURLOPT_URL , $ url . '?' . urldecode ( http_build_query ( $ params ) ) ) ; curl_setopt ( $ curl , CURLOPT_RETURNTRANSFER , true ) ; curl_setopt ( $ curl , CURLOPT_SSL_VERIFYPEER , false ) ; $ result = curl_exec ( $ curl ) ; curl_close ( $ curl ) ; if ( $ parse ) { $ result = json_decode ( $ result , true ) ; } return $ result ; }
Make get request and return result

@param $url
@param $params
@param bool $parse
@return mixed
Make get request and return result