Discuss Dropbox Developer & API
how i can use api dropbox to render the pdf file inside my nextjs app using typscript i follow this github scripts https://github.com/dropbox/dropbox-sdk-js/ but i don't find any example about how can render dropbox file inside may nextjs app , i find upload and files listes function only ..??
To download a file using the JavaScript SDK, you would use the filesDownload method.
There's an example of using a content download method like this in TypeScript with this SDK here. That example happens to use sharingGetSharedLinkFile instead of filesDownload, but they work the same way to access the returned data; you would use a "path" parameter for filesDownload instead of "url" though.
Thank you very much. Okay, I will try to implement it inside my NextJS app, and we will see.
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!