EldoS | Feel safer!

Software components for data protection, secure storage and transfer

DropBox

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#23075
Posted: 01/08/2013 05:00:27
by Bernard L. (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.
#23076
Posted: 01/08/2013 05:38:38
by Ken Ivanov (EldoS Corp.)

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.
#23077
Posted: 01/08/2013 08:19:15
by Bernard L. (Premium support level)
Joined: 12/18/2012
Posts: 14

Hi,

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?
#23080
Posted: 01/08/2013 11:29:08
by Ken Ivanov (EldoS Corp.)

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

Reply

Statistics

Topic viewed 571 times

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




|

Back to top

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

Got it!