Please help me to suggest an idea to generate auth token without user needs to create the OAuth token. Using DropNet I Can download file using appkey,appsecret, oauthtokn. Already user needs to give the appkey and apptoken , on top of that user needs to launch the URL
https://www.dropbox.com/1/oauth2/authorize?client_id=***********&response_type=token&redirect_uri=http://localhost
and Click on Allow to perform the operation copy the access_token from the redirected url.
I want the user only needs to enter the appkey and appsecret. I want to generate access_token internally in the code either. Please suggest any way to achieve this.