Scaling down large image files using the get thumbnail API

As digital cameras evolve, including the ones in our smartphones, photos produced by them constantly increase in resolution and file size. For instance, on my current smartphone, the average file size of pictures goes between 6-8 MB, when the ones produced by my 3-year-old smartphone average 2-3 MB.

Having a large file size is not a problem when previewing images directly in the Dropbox website or the Dropbox mobile apps as these surfaces are optimized for large files, but presents challenges when interacting with other APIs.

If you’re transferring your images to a third party API for processing (like an image recognition AI),

Read more

Streamline file collection with the file request API

It’s the first of the month and that means you’re about to be inundated with invoices from contractors. You could head it off with a bulk email, but then you’re wading through replies with attachments that could easily be lost in the shuffle of other activity. This is a perfect use case for Dropbox and our API to help automate tasks like file collection.

File requests help you structure these repeating duties. Whether it’s contractor invoices, student homework assignments, or new employee headshots, you can use file requests to collect and organize files from anyone,

Read more

OAuth code flow implementation using Node.JS and Dropbox JavaScript SDK

In this blog post we show you how to implement an OAuth authorization code grant flow using Node.JS and Dropbox JavaScript SDK that works with multiple users.  The code presented here is for a development environment, as you need to carefully implement security measures not considered in this blog post when using a production environment. 

We will walk you through the configuration of a Dropbox application, installing and configuring the libraries needed for the project, and finally the code implementation that supports the OAuth authorization code grant flow using JavaScript. If you are unfamiliar with OAuth,

Read more

New Dropbox API Getting Started Guide

The Dropbox API allow you to manage and control content programmatically and extend Dropbox capabilities in new and creative ways. If you’ve ever wanted to explore the DBX Platform but didn’t know where to begin, we’ve just published a guide that will take you through the basic steps required to get up and running using the Dropbox API. 

Through this step-by-step tutorial, you’ll learn all about building on the DBX Platform while creating a simple file organization app to help sort files within your Dropbox account.

Read more

Photo gallery tutorial with tags using the File Properties API

In a previous blog post, we shared how to create a production-ready photo gallery application using Node.js, Express, and Dropbox, and deploy it to Heroku. In our latest tutorial, we’ve expanded this application to search for pictures on Dropbox using tags. 

This new tutorial uses the Microsoft Azure Face Recognition API to identify and create tags for specific people; the Dropbox File Properties API to store a reference to and handle search of those tags; and the Dropbox JavaScript SDK to implement all of this with fewer lines of code,

Read more