-
Cannot initialize optional DBDownloadUrlTask to nil in Swift 3
I'm trying to integrate the Objective-C SDK (version 3.0.9) in a Swift 3 project. We could do it with the same project in its Swift 2.3 version. In Swift 3 we get the following error: nil cannot initialize specified type 'DBDownloadUrlTask?' fileprivate var fileDownloadTask: DBDownloadUrlTask? = nil The same line compiled…
-
Will the DBChooser for iOS still work when the v1 API will be turned off?
Hi! We are using the DBChooser in our iOS app, and now I started to wonder if that also needs to be somehow updated to use the v2 API? Thanks!
-
Regarding Download API - 461 Status
Hi, I have developed an app using Dropbox jar (v1.8). While downloading files using the client jar, I get the following response. unexpected HTTP status code: 461: {"error": "This file is no longer available due to a takedown request under the Digital Millennium Copyright Act by steven a hardinger."} This is happening only…
-
Equivalent of [[DBSession sharedSession] isLinked] in API v2.
I have developed an iOS app which already used Dropbox API v1, now migrating to v2. What is the equivalent of [[DBSession sharedSession] isLinked] in API v2 ? Please let me know. I have used [DBClientsManager authorizedClient], but every time, it is giving "YES" only. It is not asking for dropbox permission for the first…
-
Dropbox Client sync
Hello, Can you tell me how Dropbox client works? Because whenever I made changes on Dropbox Server it sync data with my desktop immediately. I want to create my own client and perform sync same as dropbox client using Dropbox API. So please can you provide some example on dropbox client sync operation.
-
WriteMode: overwrite. Autorename strategy?
In the WriteMode (union) the options are add, overwrite or update. If I set it to overwrite, I think there is no autorename strategy needed. Still, the documentation says: "The autorename strategy is the same as it is for add". And the explanation for Aadd is: "The autorename strategy is to append a number to the file…
-
oauth2 dropbox connection problem in IE 11
hello , I am facing a problem in connecting dropbox using oauth2 api to my app in IE 11 only. In other browsers , it is working fine . Actually when I request for connection in other browsers, after verfication response Url I am getting is like this https://www.example.com/mycallback/#access_token=<access…
-
V2 getServerModified date format
I'm transitioning to v2 on Android. I use the modified date and time to know when is a good time to backup again. In the migration documentation it says: Date formats * v1: All dates in the API are strings in the following format: "Sat, 21 Aug 2010 22:31:20 +0000" * v2: All dates are strings in the ISO 8601 "combined date…
-
downloadURL throwing a exception Operation Not Permitted
The following code is throwing an exception, something about file permission with NSURLSession: [[[[DBClientsManager authorizedClient].filesRoutes downloadUrl: remotePath overwrite: true destination: destURL] setResponseBlock: ^(DBFILESMetadata *fileData, DBFILESDownloadError *downloadError, DBRequestError *requestError,…
-
shared with me file email address dropbox api c#
Hi there , I am using Dropbox api in c# and able to download the /share/files but along with i want the sender email address that i am unable to find. please help me how can i find the email address who shared the file. Thanks..
-
Creating Temporary access to download files with random credential instead of common password
We have a mobile application with multiple users accounts, everyone needs to download the certain files from dropbox. But we don't want to make the dropbox files to give public access or not to manage through team users in dropbox. What would be the best way to make the download process secured for each user. We…
-
Response headers
Hi, With API v2, we can be able to access/retrieve response header from get_thumbnail request in order to retrieve "etag" and "dropbox-api-result". I just start using Dropbox SDK from http://dropbox.github.io/dropbox-sdk-js/global.html#FilesThumbnailArg__anchor and I was trying to get the response header but look like…
-
JavaScript SDK does not return thumbnails
I'm trying to use Dropbox SDK to retrieve an imge thumbnail with filesGetThumbnail method. I used Dropbox.filesGetThumbnail and I received the response successfully but look like it only return the image's properties such as size, name, path..etc but there was no base64 encoded value in the return as expexted. I tried the…
-
Can we able to filter the certain file types when fetching the file list in api v2 for iOS?
-
How do I cancel the process that is being downloaded?
When I use DbxDownloader <FileMetadata> .download to download, halfway to cancel the download call DbxDownloader <FileMetadata> .close to operate, but I got a NullPointerException exception, Message is "Attempt to read from filed" int com.android.okio. Segment.limit 'on a null object reference ", but I have done a…
-
UPLOAD FROM HTTP WITH PHP NOT WORKING
Hello ! I want to upload an image (test.png) from the root of my site to my Dropbox but it doesn't work. My php script is in the same folder than image test.png : $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://content.dropboxapi.com/2/files/upload"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $post = array(…
-
Implicit Grant Returns Access Denied unless localhost
Background page: https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/ So I'm trying to use the implicit grant method of login as I have always done before. However, for some reason whenever I change the redirect url from: 'http://localhost:3000/loginredirect/' to my actual cloudfront url, it…
-
Is role in v2 same as to permission in v1?
There was a permission attribute in v1 API. "permissions": { "is_admin": true } Is the above permission changed to the role as below? "role": { ".tag": "member_only" } We just want to confirm as we are planning to update our existing v1 API.
-
Aplicativo para servir de ponte entre programa desktop e DropBox dos clientes
Nos somos uma empresa comercial e temos um software DESKTOP o qual gostaríamos que este se comunicasse com o DropBox do cliente para que este possa encaminhar os arquivos deles ao DROPBOX (backup) e restaurar estes arquivos via nosso programa DESKTOP. O Aplicativo TQSStore seria somente uma ponte entre nosso programa…
-
How to revoke an access token? (Other answers suggest security page, but doesn't appear there)
Hi, I realise this question has been asked before, but it seems the answers always refer to the account/security page. I have generated (manually through the web UI) multiple access tokens during testing, and all seem valid. I have probably also generated some and not actually noted them down anywhere. How do I: a) list…
-
Why was DBClientsManager authorizeFromController browserAuth removed in a point release?
This is going to sound like criticism, and I guess it is, but please bear with me. The criticism is intended to be constructive and professional, not personal. In the dropbox-sdk-obj-c GitHub project Commit https://github.com/dropbox/dropbox-sdk-obj-c/commit/8936d7fc0be220e4cb1664b17ea6829044230a52 on April 12 removed the…
-
After using API V2, the App receives the retired message for API V1 yet
I try to preview this message, but I can't see these pictures, I share these pictures by the DB sharing. https://www.dropbox.com/s/n75pvcwd0yxn0rq/IMG_0706.JPG?dl=0 https://www.dropbox.com/s/6z3x89gwi0pcoo2/IMG_0707.JPG?dl=0 According to the guide, I use the API V2 in our APP. As you see, the attachement are the snapshots…
-
Dropbox JavaScript SDK vs Dropbox saver JavaScript
Hello, I'm just starting to use Dropbox JavaScript SDK from http://dropbox.github.io/dropbox-sdk-js/Dropbox.html on my client side. But there is a conflict when using both refrences from <script src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js" ></script> AND <script src="//www.dropbox.com/static/api/2/dropins.js"…
-
Dropbox/apps/appfolder accidentally deleted
Hi all, i accidentally deleted my appfolder that was generated automatically while creating the app. When I try to recreate the folder it seems that it is not linked to the app and it is not working anymore. i am accessing the app through a generated token from a Windows service that to upload my file. Now the app is not…
-
Synchronise App using APIv2 in IOS objective c
Hi Support, How i can Synchronise App using APIv2 in IOS objective c. Thanks in advacne..!!
-
Download array of images in APIv2 Ios objectie c`
HI support, How i can download the array of image from drobox using apiv2in IOS objective c. I am using below code taht download only one Image from the droppbox. NSFileManager *fileManager = [NSFileManager defaultManager]; NSURL *outputDirectory = [fileManager URLsForDirectory:NSDocumentDirectory…
-
checkAndPerformV1TokenMigration
I add a fuction with named checkAndPerformV1TokenMigration as following : -(void)performDropboxMigrationFromV1ToV2 { BOOL willPerformMigration = [DBClientsManager checkAndPerformV1TokenMigration:^(BOOL shouldRetry, BOOL invalidAppKeyOrSecret, NSArray<NSArray<NSString *> *> *unsuccessfullyMigratedTokenData) { if…
-
dropbox-android sdk
What is the diffrence between dropbox android sdk, dropbox core sdk, dropbox sync sdk?? Isn't there any one common sdk which supports all the dropbox api features???
-
Sync on button click in android
How can I implement the functionality to sync dropbox data in my android app by clicking on a button. I want to sync data separately rather than at uploading and downloading time.
-
V2 Obj-C equivalent to [DBFilesystem sharedFilesystem].status.anyInProgress
Is there a V2 Obj-C equivalent to the Sync API [DBFilesystem sharedFilesystem].status.anyInProgress ? That is, how can I test if there are uploads in progress after fileRoutes batchUploadFiles is called but before the responseBlock is run?