I want to list all the files of a folder from my own Dropbox account on my website. I was going to use C# and the Dropbox Rest API but from reading the documentation it appears that I can't do that without first getting the user to go to dropbox to receive an authorisation token.
Is this correct? Is there anyway I can return the data in code without asking the user to log in?
To get the paths and IDs for any items in the account, you can start by calling /2/files/list_folder[/continue] for root, supplying the empty string "" as the 'path' parameter.
The Dropbox API allows developers to work with files in Dropbox, including advanced functionality like full-text search, thumbnails, and sharing. The Dropbox API explorer is the easiest way to get started making API calls.
You'll need to have a Dropbox account to access the APIs. If you don't already have one, you can sign up for a free account here.
Actually no.
You need to authenticate first using OAuth and than get list of files. Documentation is here
Also as tutorial here:
https://github.com/geersch/DropboxRESTApi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With