HOWTO perform dev testing with dropbox API

My development server is a private workstation behind campus firewall. Any callback mechanism from 3rd party API services like Dropbox can’t get through.

I used the following to do development & testing:

  1. Read about the API here
    https://github.com/futuresimple/dropbox-api
  2. Put the following in your app dir’s Rakefile:
    require "dropbox-api"
    require "dropbox-api/tasks"
    Dropbox::API::Tasks.install
  3. Run “rakefile dropbox:authorize”
  4. Obtain session key & token, bypassing the need for your 3rd party to call back into the internal workstation
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s