Generate the oauth token first using either the authorization code or implicit grant flows and then save the token in your script.
Generate the oauth token first using either the authorization code or implicit grant flows and then save the token in your script.