We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
jsantiagor90
5 years agoExplorer | Level 3
Display snippets of file content
Hi, I am using the dropbox api, I would like to show a preview of the content of the file that my user select, like how it is showed when accessing dropbox through the browser, how can I achieve that? thank you.
1 Reply
- Greg-DB5 years ago
Dropbox Community Moderator
To access file content, you can use /2/files/download. Once you retrieve the content for any particular file, you can display the desired portion of the content in your UI.
By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
About Discuss Dropbox Developer & API
Make connections with other developers814 PostsLatest Activity: 3 years 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!