|
9 | 9 | If you don't already have one, you can register for a free Temboo account at
|
10 | 10 | http://www.temboo.com
|
11 | 11 |
|
12 |
| - You'll also need a valid Dropbox account, and OAuth credentials for Dropbox. To |
13 |
| - obtain OAuth credentials for Dropbox, you'll need to register a Dropbox app at |
14 |
| - https://www.dropbox.com/developers/apps -- the app name and domain can be whatever |
15 |
| - you'd like. After registering the app, follow the instructions at |
| 12 | + You'll also need a valid Dropbox app and accompanying OAuth credentials. |
| 13 | + To create a Dropbox app, visit https://www.dropbox.com/developers/apps and |
| 14 | + do the following: |
| 15 | + |
| 16 | + 1. Create a "Dropbox API app" |
| 17 | + 2. Select "Files and datastores" |
| 18 | + 3. Select "Yes - my app only needs access to the files it creates." |
| 19 | + |
| 20 | + Once you've created your app, follow the instructions at |
16 | 21 | https://www.temboo.com/library/Library/Dropbox/OAuth/ to run the Initialize and Finalize
|
17 |
| - OAuth Choreos to complete the OAuth handshake and retrieve your Access Token information. |
| 22 | + OAuth Choreos. These Choreos complete the OAuth handshake and retrieve your Dropbox OAuth access tokens. |
18 | 23 |
|
19 | 24 | This example assumes basic familiarity with Arduino sketches, and that your Yun is connected
|
20 | 25 | to the Internet.
|
@@ -96,7 +101,8 @@ void loop()
|
96 | 101 | UploadFileChoreo.addInput("FileName", "ArduinoTest.txt");
|
97 | 102 |
|
98 | 103 | // next, the root folder on Dropbox relative to which the file path is specified.
|
99 |
| - // unless you're using an in-production Dropbox app, this should be left as "sandbox" |
| 104 | + // to work with the Dropbox app you created earlier, this should be left as "sandbox" |
| 105 | + // if your Dropbox app has full access to your files, specify "dropbox" |
100 | 106 | UploadFileChoreo.addInput("Root","sandbox");
|
101 | 107 |
|
102 | 108 | // next, the Base64 encoded file data to upload
|
|
0 commit comments