public function getUser($id = 0)
    {
        $auth = false;

        if ($id === 0 && isset($this->_accesstoken)) {
            $id = 'self';
            $auth = true;
        }

        return $this->_makeCall('users/' . $id, $auth);
    }
public function getUser($id = 0)
    {
        $auth = false;

        if ($id === 0 && isset($this->_accesstoken)) {
            $id = 'self';
            $auth = true;
        }

        return $this->_makeCall('users/' . $id, $auth);
    }
public function getUser ( $ id = 0 ) { $ auth = false ; if ( $ id === 0 && isset ( $ this -> _accesstoken ) ) { $ id = 'self' ; $ auth = true ; } return $ this -> _makeCall ( 'users/' . $ id , $ auth ) ; }
Get user info.

@param int $id Instagram user ID

@return mixed
Get user info .