My app has been using the DropboxSync (v3.00) library for years now and needs to be changed due to Dropbox dropping support for the older V1 APIs it uses as of Sept 28th.
I see two new libraries. DropboxHttpAPI and DropboxV2 with the later being the newer but with an April 2017 note saying it has some issues.
My usage is a dedicated app folder on Dropbox for my app's files to be uploaded and downloaded. No need for access to any other user folders. Permission type is "App folder".
The Dropbox app console page gives me a key and secret which for DropboxSync are placed in xxx.Initialize(key,secret,"manager") and then I call xxx.LinkAccount. After these two calls I am good to go for uploading and downloading files to my app's Dropbox dedicated folder and to create any needed sub-folders.
I have not yet found a good example showing initialization using both the "key" and "secret". I do see reference to an "AccessToken" and using the "key" but nothing about where the "secret" goes.
The manifest also needs to have the "key" entered in similar to the old DropboxSync library. I see example of that.
A simple example of initializing the connection to my App's Dropbox folder with key/secret and then upload and download a file would greatly help me. Thanks.
I see two new libraries. DropboxHttpAPI and DropboxV2 with the later being the newer but with an April 2017 note saying it has some issues.
My usage is a dedicated app folder on Dropbox for my app's files to be uploaded and downloaded. No need for access to any other user folders. Permission type is "App folder".
The Dropbox app console page gives me a key and secret which for DropboxSync are placed in xxx.Initialize(key,secret,"manager") and then I call xxx.LinkAccount. After these two calls I am good to go for uploading and downloading files to my app's Dropbox dedicated folder and to create any needed sub-folders.
I have not yet found a good example showing initialization using both the "key" and "secret". I do see reference to an "AccessToken" and using the "key" but nothing about where the "secret" goes.
The manifest also needs to have the "key" entered in similar to the old DropboxSync library. I see example of that.
A simple example of initializing the connection to my App's Dropbox folder with key/secret and then upload and download a file would greatly help me. Thanks.