Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am making a webapp that lets user store, edit and view text files on their Dropbox account (from app folder).
I would want to embedded images into that text, with images that are also saved on user's Dropbox.
Can I do it without create_shared_link_with_settings? Is there a way to get a link that only owner of that image will see and still embedded it into the <img></img>?
The Dropbox API /2/sharing/create_shared_link_with_settings endpoint (or corresponding native method in an SDK) does offer an 'audience' setting of 'no_one', which does not grant additional access, so that only the account(s) that already otherwise have access to the file (such as the owner) would be able to access it.
Also, Dropbox does offer the ability to modify shared links for different behaviors, such as direct file data access, e.g., by using the raw=1 parameter, as documented here. Note that shared links are subject to bandwidth limits.
I just tried this out myself though and unfortunately it looks like this particular combination of settings doesn't work. I'll raise this with the team to see if this is something we can support.
The Dropbox API /2/sharing/create_shared_link_with_settings endpoint (or corresponding native method in an SDK) does offer an 'audience' setting of 'no_one', which does not grant additional access, so that only the account(s) that already otherwise have access to the file (such as the owner) would be able to access it.
Also, Dropbox does offer the ability to modify shared links for different behaviors, such as direct file data access, e.g., by using the raw=1 parameter, as documented here. Note that shared links are subject to bandwidth limits.
I just tried this out myself though and unfortunately it looks like this particular combination of settings doesn't work. I'll raise this with the team to see if this is something we can support.
I ended up using access Public and raw=1
Thanks for raising this further!
For some reason that stopped working. Now image isn't loaded. It tries to download it even with raw=1
Same happens for files that worked before
Hi @Derag,
That's because some strange change of all new links behavior gets up. Doesn't matter of link parameters (is there something link "dl=1" or "raw=1"), all links provide HTML content that may redirect further to the file. This contradicts to the Dropbox links documentation. 🤷
Let's hope this is some mistake that'll be fixed. .. and let's hope this is NOT some new "feature" that first rolled out and documentation... doesn't matter. Let's hope...
Good luck... to all of us.
@Derag Thanks for the report! We'll look into it.
Hi Greg
Could you please let me know once this problem has been resolved, or the likely timeframe for solving the issue?
@GeorgeNotaTechExpert I can't offer a timeline, but I'll follow up here once I have any news on this.
Hi Greg,
has their been any information?
I have noticed, by changing the "www" in the URL to "dl" it works. But also I have read that these are link transformations from the early days and DP doesnt officially list it in the help center anymore but they are beeing supported FOR NOW.
I have thousands of DP links on my Wordpress website. Do I have to change every single link to "dl"? And if so, how long will this be a working solution?
Best Wishes
@grunzz Using "dl." may work, but it is not really recommended; using "www." is preferred. I don't have any information to share on how long "dl." may continue working. We're currently investigating the "www." issue and I'll follow up here once I have news on that.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!