Set "api_version" parameter automatically during login