We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

itsisaf's avatar
itsisaf
Explorer | Level 3
3 years ago

Dropbox API read files from someones shared link

Hi, I am a PHP web developer trying to integrate dropbox API. What I need is to access files (CSV, Images).
Scenario :
I have a link to dropbox shared by some company [link removed by moderator]
I have to implement Dropbox API in a way that I have to read CSV files from the above link, then after reading the content of file, I have to access images from relevant folders.
I am not sure if is it possible or not to read from the shared link which is not mine.

I am looking for someone who solves my problem and I can proceed.
thanks!

  • Hi itsisaf,

    If you have a shared file link, then you don't need any API to get its content. Just get it as you would do for any other link. Only additional thing you can care, if need, let link gets redirect before reaching final stage. In addition usually proper parameter for raw access is needed to be set (if not preset in the link - typically it's not). The same is valid for any type of file; proper content interpretation is entirely your responsibility.

    If you have a shared folder link, you may need to use /2/files/list_folder[/continue] API points to list the content and reach to there. 😉 That's it.

    Hope this helps.

  • Hi itsisaf,

    If you have a shared file link, then you don't need any API to get its content. Just get it as you would do for any other link. Only additional thing you can care, if need, let link gets redirect before reaching final stage. In addition usually proper parameter for raw access is needed to be set (if not preset in the link - typically it's not). The same is valid for any type of file; proper content interpretation is entirely your responsibility.

    If you have a shared folder link, you may need to use /2/files/list_folder[/continue] API points to list the content and reach to there. 😉 That's it.

    Hope this helps.