Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
wrench1815
5 years agoNew member | Level 2
A way to shorten the url of the files when using dropbox with DJango
I've been trying to make a site, and am using Dropbox for image backend. But i have a problem, The url of the image that is uploaded to dropbox is too long like this image link is more than 400 chara...
Greg-DB
Dropbox Community Moderator
5 years agoThe kind of link in your screenshot is a temporary link returned by /2/files/get_temporary_link. There isn't an option to make those shorter, but an alternative would be to use /2/sharing/create_shared_link_with_settings instead. That returns shorter shared links that don't expire by default. They do point to HTML preview pages by default, but you can modify them as shown here for different behaviors, such as direct file content access. Note that these shared links are subject to bandwidth limits.
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!