Learn how to make the most out of the Dropbox Community here 💙!

Forum Discussion

sisrael1's avatar
sisrael1
New member | Level 2
2 years ago
Solved

Downloading and uploading files from dropbox .net sdk using my own account

Hi im new to developing with dropbox and im having a hard finding the following info. im using dropbox .net sdk to upload and download images from my own account i set up a little test using the gene...
  • Здравко's avatar
    2 years ago

    sisrael1 wrote:

    ..., so how can i implement a refresh token process without any interaction? 

    ...


    Hi sisrael1,

    Without any interaction - impossible. Unfortunately, Dropbox doesn't provide a way to receive refresh token as it was for long lived access token (not yet at least). You need to perform one interaction, at least, either within the application or by hands - some initial (interactive) steps. You may take a look here of how you can get refresh token (there entire process is shown; you don't need the last steps, since they are implemented in SDK) and after that just initialize your Dropbox client object with that tokens and keys (not just access token only like you are doing right now).

    Hope this helps.