cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're back with another cheat sheet to make your 2022 easier than ever! Check out our tips here

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Export Dropbox-Content to WordPress with list_folder

Export Dropbox-Content to WordPress with list_folder

HuS
Explorer | Level 4

Plus plan user here. We consider using the API method list_folder to pick up a large Dropbox folder (thousands of images 100-5000 kb each) to populate the Media Library for a WordPress site. Individual files would cause minimal download traffic, as another service picks up files from there and serves images with a CDN. Transfer from Dropbox to WordPress might happen with WP All Import → Import Images from URLs. For those with good Dropbox API experience – does this sound like something worth trying?

4 Replies 4

Re: Export Dropbox-Content to WordPress with list_folder

kylea
Dropboxer

Getting Dropbox files into Wordpress is certainly achievable with the API - there are several community built plugins to Wordpress that allow selection of Dropbox files, see here.  

 

If your goal is to get thumbnails of media files from Dropbox into WordPress, using get_thumbnail_batch using the output of list_folder may be the most efficient way to download the images.

 

 

Re: Export Dropbox-Content to WordPress with list_folder

HuS
Explorer | Level 4

Thank you, kylea!
I wasn't notified that my question got an answer, hence my late reply. I am aware of these WordPress plugins – they, however don't do what we need. The WordPress plugins in this list which make Dropbox available in the Media Library context let you browse Dropbox from within WordPress as an additional image source. 

We want to automatically (and exclusively) populate our WordPress Media Library with assets stored on Dropbox, so that every published image originally comes from Dropbox. Thumbnails weren't  enough, we need the full-size images. Dropbox would work as a minimal DAM, connected to the WordPress Media Library.

Re: Export Dropbox-Content to WordPress with list_folder

Greg-DB
Dropboxer

@HuS If existing solutions don't address your use case, you can certainly build your own integration. To get the original/full size image data, you could use /2/files/download.

Re: Export Dropbox-Content to WordPress with list_folder

HuS
Explorer | Level 4

Thanks Greg,
we'll look into this.

Need more support?