Forum Discussion

DSnopov's avatar
DSnopov
Explorer | Level 4
8 years ago
Solved

Get folder URL

Hello!

 

In my application users can upload images to any folder of their choice. I want to add the ability to open this folder in a browser from the app. What is the appropriate way to get the folder URL? It is pretty straightforward when the folder is shared: the sharingGetFolderMetadata method does the job. But how can I get the link if it's not? Is it safe to just concatenate two strings ('https://www.dropbox.com/home' + folder.path_display)?

 

Thanks for your time. 

  • No, unfortunately there isn't a good way to do this when it's not shared, but I'll pass this along as a feature request. We also don't recommend just using /home + the path, as that's subject to change.

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    No, unfortunately there isn't a good way to do this when it's not shared, but I'll pass this along as a feature request. We also don't recommend just using /home + the path, as that's subject to change.
  • ndkhaivn's avatar
    ndkhaivn
    New member | Level 2
    6 years ago

    Hi, I'm just wondering if this has come as a new feature yet, I'm trying to get a folder URL that is accessible by people that are already shared, but the link will not be available to arbitrary user who has the link

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    ndkhaivn No, unfortunately I don't have any news on this request.

About Dropbox API Support & Feedback

Node avatar for 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!