EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Posted: 01/08/2013 05:00:27
by AdValvas Europe (Premium support level)
Joined: 12/18/2012
Posts: 14

Please give me a link to the best / full documentation on how to implement dropbox integration. It seems to me this is hard to find on your site. Thank you.
Posted: 01/08/2013 05:38:38
by Ken Ivanov (Team)

Hello Bernard,

Unfortunately, the Dropbox classes are fairly recent and the documentation for them is still in development.

A typical Dropbox session consists of the following steps:

1) Initial authorization:
- set the AppKey and AppSecret properties according to the values you received from Dropbox, then
- call the StartAuthorization() method.
- Get an authorization link by calling the GetAuthorizationURL() method.
- Open the authorization link in a browser and sign in to Dropbox.
- Once the in-browser authorization is completed, call the RequestAccessToken() method. Now you can use the values assigned to AuthTokenSecret and AuthToken properties to authorize to the service.

Note that the session is cached for some time on the server, so you do not need to perform complete in-browser authorization each time you want to access your Dropbox account. In other words, you can cache the values assigned to AuthToken and AuthTokenSecret properties after the initial authorization is completed, and assign them back to the properties whenever you need to access the account.

2) General work: use List, WriteObject, ReadObject and other methods to manage objects in your Dropbox storage.
Posted: 01/08/2013 08:19:15
by AdValvas Europe (Premium support level)
Joined: 12/18/2012
Posts: 14


Thanks, we are trying it out. But is it necessary to get authorization? If it's for treating public folders of a customer, we could just work with a given url I guess, and perform a GetAuthorizationURL() or something?
Posted: 01/08/2013 11:29:08
by Ken Ivanov (Team)

Yes, authorization is a crucial part of Dropbox protocol. You need to obtain authorization tokens even if you plan to work with public elements.



Topic viewed 647 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!