Dropbox
Version: 1.02 (21/01/2013)
Special thanks to Ashley for his precious help.
Download Dropbox.rar
Hi there, it's been a while I didn't take time to do a plugin.
I've always been frustrated to not be able to access to my files with JS.
This is the main reason I decided to do this Dropbox Plugin.
This is adapted from the Victor Costan's Dropbox.JS library.
The Dropbox.JS library is Copyright (c) 2012 Dropbox Inc., and distributed under the MIT License.
Please test it and report me if you find any bugs, since I didn't take all the required time to do this beta test phase.
Also, I should write a help file since there are some conditions/expressions which'll need to use action before.
For the most experimented, you can read this discussion between Ashley and me here.
To give you an idea, here is a little helpful screenshot:
In order to make it working, you have to registered your application on the Dropbox site and get an API key. Here are the steps.
1. Go to the App Developer Dropbox section and click on 'Create an app'.
2. Set "Core API", then enter your "Appname" (which'll be displayed when the user'll be asked to accept the access to his dropbox), its description and choose if you want the user access to the Application folder or to the full user's Dropbox.
Then, click on 'Create'.
You should use App folder as much as possible since it is the most safety mode for your dropbox's files (in case of applications bugs, etc.
3. You'll be able to find your App key and App secret on the next page.
I encourage you to don't use your App and App secret though.
You have to encode it.
4. Go to the Dropbox API key encoder, and enter your App key and App secret then click on 'Generate the encoded key' and copy it to your clipboard.
5. Paste your encoded key to the "Encoded API key" property in the Dropbox plugin's properties.
You can now play with the differents actions, conditions and expressions.
I'm around here if you need help
Enjoy.