3 ways to add sharing to your Dropbox App

Storing personal files in Dropbox is useful, but collaborating with others can make you even more effective. Whether for your business, school, or personal projects, Dropbox sharing can create more engaging work. There are a number of ways to incorporate shared files and folders with Dropbox. Each method can be accessed with the Dropbox API, allowing your app to automatically add the right people to your projects.

In this post, we’ll use the Dropbox API to implement sharing in three ways. The code samples use the Dropbox Python SDK, but you could use any SDK (or make direct API calls).

Read more

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

Quickly integrate file upload in your web app using the Chooser

File upload from a web browser can be a hassle for both the developer and the end user. By integrating with Dropbox, you can help your users easily get to their files stored in Dropbox and streamline uploads into your app without the need for error handling or multipart form data with backend code.

The Dropbox Chooser is an easy-to-implement, pre-built component that allows users to access their Dropbox files from within your app. Simply include our JavaScript snippet to add a file-browsing UI and handle authentication to a users’ Dropbox account. This post will cover the three simple steps to add the Dropbox Chooser to your website or application.

Read more

New file upload link API

The get_temporary_upload_link API endpoint is now officially out of preview and available for production use. Developers can use this API call to get pre-signed upload URLs. 

Use Case

One of the most common actions a Dropbox integration will perform is to add new content.  

The upload endpoint is used to push binary content to Dropbox. This is perfect for apps where the file is local to the machine connecting to Dropbox. However, for some types of client-server applications that integrate with Dropbox, this may be not optimal. For example, you may have a server-based application which manages all state and interaction with Dropbox and a mobile client that connects your server.  

Read more

API v1 is now deprecated

Edit 06/23/2017: Deprecation timeline updated to match the one described in our recent blog post

As of today, Dropbox API v1 is deprecated. This includes both the user endpoints (a.k.a. the Core API), and the team endpoints (a.k.a. the Business API). In order to provide our developers with the most up-to-date features and support a single, consistent platform, we’ll be turning off API v1 a year from now, on 6/28/2017.

API v2 is built thoughtfully with a consistent design and adds new endpoints and features. Additionally, we’ve open-sourced our SDK generator,

Read more