0

I am integrating Dropbox into a Laravel/PHP project to allow subscribers to link their Dropbox account and access files from Dropbox storage.

I am able to fetch directories and files list from Dropbox and also there are API to download files or generate a thumbnail for images. But the issue is that generating a thumbnail for each image is a very slow process. So, I am looking for a solution to get thumbnail URL in file list as other services like google drive provide us.

Ajay Kumar
  • 29
  • 1
  • 7
  • Dropbox allows to fetch thumbnails for up to 25 files in one request - https://www.dropbox.com/developers/documentation/http/documentation#files-get_thumbnail_batch – Evil_skunk May 31 '18 at 09:11
  • The `get_thumbnail_batch` endpoint mentioned above is the best solution currently. That still only returns the thumbnail data, not links, though. We'll consider this a feature request for a way to get thumbnail links. – Greg May 31 '18 at 15:48
  • Thanks, @Evil_skunk – Ajay Kumar Jun 28 '18 at 06:56
  • @Greg, right its works thanks – Ajay Kumar Jun 28 '18 at 06:56

1 Answers1

1

I achieved this by using dropbox thumbnail batch request.

Here is the doc page: https://www.dropbox.com/developers/documentation/http/documentation#files-get_thumbnail_batch

Dropbox allow fetching 25 thumbnails in one request.

Ajay Kumar
  • 29
  • 1
  • 7