Discuss Dropbox Developer & API
I am trying to create an app in c# which will download files from a given url which looks like this
This is the code I am using:
Snippet
using (var dbx = new DropboxClient("My ACCESS TOKEN HERE")) { var metadata = await dbx.Sharing.GetSharedLinkMetadataAsync(url); Console.WriteLine($"{metadata.IsFolder}, {metadata.Name}"); }
And this is the exception I get:
ApiException`1: shared_link_not_found/...
Am I doing something wrong? The above link is a publicly shared link and I was able to download the files in the browser.
Thanks for the help.
That's right. Its the links in the html file that I want but I am not sure how because I can't find any. That is all I want to know I can do the rest.
I see, thanks for clarifying. It sounds like you're referring to parsing or scraping the HTML page itself, which is outside the scope of Dropbox API support, so I'm afraid I can't offer help with that.
You may be better served by referring to general resources on this sort of parsing/scraping on general web development forums.
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!