libraries/Users/Social/abstractadapter.php
protected function post($url, $params, $parse = true){
		$curl = curl_init();
		curl_setopt($curl, CURLOPT_URL, $url);
		curl_setopt($curl, CURLOPT_POST, 1);
//		curl_setopt($curl, CURLOPT_POSTFIELDS, urldecode(http_build_query($params)));
//		curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));
		curl_setopt($curl, CURLOPT_POSTFIELDS, $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 post($url, $params, $parse = true){
		$curl = curl_init();
		curl_setopt($curl, CURLOPT_URL, $url);
		curl_setopt($curl, CURLOPT_POST, 1);
//		curl_setopt($curl, CURLOPT_POSTFIELDS, urldecode(http_build_query($params)));
//		curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params));
		curl_setopt($curl, CURLOPT_POSTFIELDS, $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 post ( $ url , $ params , $ parse = true ) { $ curl = curl_init ( ) ; curl_setopt ( $ curl , CURLOPT_URL , $ url ) ; curl_setopt ( $ curl , CURLOPT_POST , 1 ) ; //		curl_setopt($curl, CURLOPT_POSTFIELDS, urldecode(http_build_query($params))); //		curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($params)); curl_setopt ( $ curl , CURLOPT_POSTFIELDS , $ 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 post request and return result

@param string $url
@param string $params
@param bool $parse
@return array|string
Make post request and return result