Using OAuth2 to Export google document On Google drive

If API is already deprecated, please report it by using this button

Live example code for using OAuth to Export google document via Google drive