Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Paul W.79
11 years agoNew member | Level 1
Webpage that lists contents of shared, public dropbox folder
I'd like to be able to add files into a shared Dropbox folder, and then have my website be able to list and download the contents of that shared dropbox folder.
So I don't want there to have to be...
Greg-DB
Dropbox Community Moderator
11 years ago[Cross-linking for reference: https://stackoverflow.com/questions/32030105/dropbox-api-listing-content-of-shared-public-folder ]
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons. Most of these concerns are allayed for server-side apps though, where you can protect the access token server-side.
So if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your account. (Just be careful not to revoke it, e.g. via https://www.dropbox.com/account/security .)
For example, using the Java SDK, you could initialize a client using a hard coded access token for your own account using this constructor.
From there you can make the normal calls to list and download files.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!