Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
JohnSM
8 years agoExplorer | Level 4
c# media gallery from dropbox
Hi,
I am developing a web application in C # which is integrated with a dropbox repository. My goal is to make a multimedia gallery populated with the dropbox files.
At this stage I already have all the integration with the dropbox. I can connect, authorize the user and access the files using api v2.
What I need is an example of the C # controller that loads the data from each file (name, size, thumbnail, download link, etc ...) and returns it to the gallery view page.
At this moment I can access the names and size of the files but I am not able to access the thumbnail and download link.
I appreciate someone's help.
Greetings,
John
I am developing a web application in C # which is integrated with a dropbox repository. My goal is to make a multimedia gallery populated with the dropbox files.
At this stage I already have all the integration with the dropbox. I can connect, authorize the user and access the files using api v2.
What I need is an example of the C # controller that loads the data from each file (name, size, thumbnail, download link, etc ...) and returns it to the gallery view page.
At this moment I can access the names and size of the files but I am not able to access the thumbnail and download link.
I appreciate someone's help.
Greetings,
John
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
We don't have an example quite like that unfortunately. Based on your description though, you'll probably want to use some of the following methods, depending on exactly how you want to implement your gallery:
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetMetadataAsync_1.htm
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadAsync_1.htm
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetThumbnailAsync_1.htm
https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetTemporaryLinkAsync.htm
The examples that we do have can be found here:
https://github.com/dropbox/dropbox-sdk-dotnet/tree/master/dropbox-sdk-dotnet/Examples
If something isn't working as expected, please let us know.
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!