i have integrated Dropbox with php based application using their API. Files are uploaded and then shared URL is stored in PHP application.
Show any file preview: I did some R&D and find out that using shared URL in iframe can display preview. But iframe cant be responsive and also this is proper way to preview any uploaded file in application?
If you want to get the preview data for a file and then control how it's displayed, you can use /2/files/get_preview.
Dropbox doesn't offer a way to do this, but well consider it a feature request.