I found this but how would I do it?
"Authorization codes are temporary, and can only be used once. So, instead of trying to re-use an authorization code or authorizing the app each time, you should store and re-use the resulting access token, passing it directly to the DropboxClient constructor."
https://www.dropboxforum.com/t5/Drop...it/td-p/131351