Getting Started

Filestack Architecture

File Upload

File Export (Save To)

Responsive Images

Image Transformations

Document Transformations

Video Transcoding

Audio Transcoding





Filestack Viewer


Supported Cloud Drives

Filestack Recipes

Filestack Integrations

Filestack SDKs

Register for an API key

Using OneDrive with Filestack

How can you use OneDrive with Filestack?

This is all you need to get started. A simple pick.

Sample Code
filepicker.pick( { mimetypes: ['*/*'], container: 'modal', services:['SKYDRIVE'], }, function(Blob){ console.log(replaceHtmlChars(JSON.stringify(Blob))); }, function(FPError){ // console.log(FPError.toString()); - print errors to console } );

Setting up a Custom OneDrive oauth application

By default, you do not need to configure anything to start uploading files from OneDrive, Filestack is ready to go out of the box. When a user logs into their OneDrive account from your site, the Filestack company application will show up. You can configure it so that your application shows up instead in order to make a more seamless experience for your customers. So let's get started.

  1. Go to fill out an application name and agree to the terms of use
  2. Fill out the application name and agree to the terms
  3. Enter in the information on the Basic information page and hit save.
    Complete and save the basic information page
  4. On the API Settings page enter as the redirect url, leave the other settings as their defaults and click save.
    Enter the redirect URL on the API settings page
  5. Next copy the Client ID and Client secret from the App Settings page.
    Copy the Client ID and Client Secret from App Settings
  6. Now go to the Filestack developer portal and click on Auth Keys, scroll down to the bottom and enter the client id and the client secret into the skydrive fields and click save
    Enter the Client ID and Client Secret in the Filestack developer portal
  7. Go and test that you can connect to your OneDrive application through Filestack
    Test that your OneDrive application works

Congratulations! Your custom Onedrive application is all set up for use with Filestack!