We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
AlexGH
9 years agoNew member | Level 2
How to retrieve shared link Dropbox API?
Hi, I've been working for hours on this, I'm using C# and I'm working with Dropbox.Api I have a folder in DropBox with .png files, I want to use a raw link to those .png files so I can use it in my code like this :<img src="dropbox_link_to_image"> I've used the CreateSharedLinkWithSettingsArg() method and it creates a link to those files but how do I retrieve those links in my view? The snippet below create the links but I don't know how to retrieve those links in a variable...
var path = new Dropbox.Api.Sharing.CreateSharedLinkWithSettingsArg(item.PathDisplay);
1 Reply
- Greg-DB9 years ago
Dropbox Community Moderator
[Cross-linking for reference: https://stackoverflow.com/questions/41022495/how-to-retrieve-shared-link-using-dropbox-api-v-2-0-client-nuget-library-in-c ]
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 days ago
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 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!