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

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

Node Photo Gallery Tutorial

We recently published a tutorial on how to build a production-ready photo gallery web service using Node.JS and Dropbox.

In the step-by-step guide, you’ll learn about all the technologies required to implement a web service that will allow you to nicely display images stored in your Dropbox account in a photo gallery.  We cover topics such as authentication to Dropbox via OAuth, app folder access Dropbox permissions, photo rendering using a JavaScript library called Galleria, and code deployment on Heroku for production. 

Read more