-
Where is documentation for Obj-C API?
Where is the documentation for the API functions provided by the new Objective-C SDK? I mean for functions in the classes like DropboxClientsManager DBFILESListFolderResult DBFILESListFolderError DBFILESFileMetadata DropboxClient Is the only documentation the header files in the source code for ObjectiveDropboxOfficial?
-
iOS: Detect when DBError is "Invalid Access Token"
I need to determine when a DBError instance returned from listFolder: or downloadData: is because of an Invalid Access Token. So far I can see how to transform the DBError into a DBRequestAuthError using: [error asAuthError] provided [error isAuthError]. And I can see how to check for Invalid Access Token in an instance of…
-
Finding if Metadata is for file or folder
Hi, I am migrating to API v2 and I am using the Java SDK 2.1.1 In v1, there was a way to check if a metadata represented a file or folder. I can't find a method in v2 to get this information. Do you think this could be added? Thank you.
-
DB Chooser failing in iOS9 - app not allowed to query for scheme
I'm using DBChooser in my app. The Dropbox app is installed on the device and updated. I'm using iOS 9.3.5. I have registered schemes dbapi-1, dbapi-2 and dbapip-3 in LSApplicationQueriesSchemes in <app>-Info.plist. I have also registered db-<my_app_key> under URL Types (obviously, with my actual app key). Aside from…
-
Problems building SwiftyDropbox for MacOS with Carthage
When I follow the directions for installing SwiftyDropbox for MacOS with Charthage on the Github README page, I get errors and a failure to build the SwiftyDropbox framework. The AlamoFire framework builds without any problems. I AM able to build the iOS SwiftyDropbox framework. This has happened on the two Macs I have…
-
MediaInfo metadata not showing for PNGs or GIFs etc.
Hi Dropbox, Based on the V2 docs for files/list_folder, it appears that passing "include_media_info": true should enable the MediaInfo photo metadata for image files. However in my tests so far I've only been able to see this metadata exposed in the API JSON response for JPEG files, not for PNGs or other image formats.…
-
api-content.dropbox.com DNS status
Hi, Since yesterday we have some trouble with the DNS of api-content.dropbox.com. It seems to come and go, I don't know if it is related to the depreciation of the API v1. At the moment I cannot ping api-content.dropbox.com at all. Thanks for your help.
-
Will OAuth redirect_receiver URL remain valid even with v2 API and OAuth2?
Hi Dropbox, I've been developing an app which leverages v1 REST APIs and for the OAuth flow uses the URL https://www.dropbox.com/1/oauth2/redirect_receiver as the OAuth redirect_uri. I'm now in the process of upgrading to the v2 API which uses OAuth 2. I've updated all of the OAuth endpoints as specified in the migration…
-
API 2 support for iOS 9.3
What is the timeline for API 2 Swift supporting iOS 9.3?
-
SaveUrl no longer detects dropbox full
Hello, The SaveUrlAsync behavior has changed recently such that it no longer thows a SaveUrlError exception when a user's dropbox is full. Why was this changed? We were relying on this to detect that the user's dropbox is full. Thank You, Larry
-
Migrating to Xcode 8 — SwiftlyDropbox error?
Hi all, I've migrated a project to Xcode 8. I did the Swift 2.3 syntax conversion and ran a pod update on SwiftyDropbox. I'm getting one error trying to compile. In the ViewController, on this line: Dropbox.authorizeFromController(self) // initialize dropbox It says "Missing argument for parameter 'controller' in call" I'm…
-
How i Download all files from the app folder into a specific folder on my server
Hi, im not a pro in PHP but i wanna know how to download ALL files from an app folder into a specific folder on my server/ local folder? For example i use this script on http://fabi.me/en/php-projects/dropphp-dropbox-api-client/ I hope someone can help me out THANKS ALOT
-
Android Api get thumbnail from video
Hi, I wish to get thumbnail from videos with sDbxClient.files().getThumbnail(metadata.getMetadata().getPathLower()) And it always throw me com.dropbox.core.v2.files.ThumbnailErrorException: Exception in get_thumbnail: "unsupported_image" How can I solve this? Regards,
-
SwiftyDropbox is not production-ready
I need "time taken", "video duration" metadata values for user videos. It's not supported in iOS SDK v1 (Dropbox-iOS-SDK), so I decided to use SDK v2 (SwiftyDropbox). 1. It's impossible to use SwiftyDropbox from obj-c code (because classes don't inherit NSObject and use some swift-only features). So that I have to…
-
Installing SwiftyDropbox without Cocoa Pods
I cannot use Cocoa Pods due to other issues (use_frameworks does not work with existing pods). Is there another way to install SwiftyDropbox into a Swift project? I have already added AlamoFire as a git submodule.
-
Which API do I use to get a link for embedding on a web page?
I'm using the API to make PDF files available on a web site. However, the get_temporary_link endpoint returns a Content-Disposition header creating an attachment, which <embed> tags don't like. How do I get a direct URL to the PDF file--not as an attachment and not embedded in the Dropbox viewer?
-
To use API v2 in iOS platform, we need an objective-C version
We didn't use swift in our app development for iOS devices. To use API v2 in iOS platform, we need an objective-C version!!! Please kindly provide an objective-C version!
-
APIv2 call needs X-Dropbox-Uid header?
Hi! I am migrating to APIv2, and stuck with this: Error in call to API function "files/save_url": Must provide HTTP header "X-Dropbox-Uid" In the documentation I only find that the Authorization token is needed, so there should be no changes from v1 here. This is the request: Method: POST…
-
Dropbox /1/team/log/get_events is giving events except category "files"
Before V1 deprecated API user to give information about all the categories. After it is deprecated I am not able see events for files category. Please provide more information about the same. Is the API /1/team/log/get_events call restricted to provide events on files or some bug is stopping me to get information about…
-
mail is not triggering when we recreate user on dropbox
Hi, An Welcome email is not triggering when we create the deleted user again(re create). Can you let me know how to do this. Thanks.
-
bug(?) in content-disposition response header
Hi, I'm a developer attempting to use APIv2 to make a web integration. Currently, I'm on rails trying to use the method /get_temporary_link to get a link to upload a file as a paperclip asset (using the very popular thoughtbot/paperclip gem). Having some issues and I noticed the `filename` in the `content-disposition`…
-
bug in get_temporary_link / special characters
Hi guys, I'm playing around with the dropbox v2 api and found a problem which I'm fear might be a bug: Whenever I call "get_temporary_link" related to a file with a special character ( like German Umlaut ä ) in it's name, the api returns a temporary link that results in an error 500. All other files without those special…
-
Using advanced upload options (Only upload changed parts, du not upload files already existing f ...
or other users) Hello everyone. I am new to DropBox developement and have been browsing the Python SDK for about half a day now. From what I have seen the SDK does not allow to use advanced uploading with detection of changed file parts and detection whether a file has been uploaded before by anyone, is that right?
-
Shared link metadata with spaces return error
Hi, I've implemented on PHP with the Dropbox API the https://blogs.dropbox.com/developers/2015/08/new-api-endpoint-shared-link-metadata/ I'm using the Chooser to select files (preview link, not direct link). Then, on frontend site, when I click on the selected file, I take preview link and I make a request for obtain the…
-
API v2 Shared Link - unique identifier length
When obtaining a shared link via an API call, the unique ID that is returned as part of the shared link URL is 15 characters, based on my initial experimentation. Is that a fixed length? I am trying to parse out that unique ID, and the easiest way in VBA is simply to extract so many characters out of the req.responsetext.…
-
getPathDisplay is returning an Lowers case Path :'( instead of a normal one.
Java 2.0.2 is our current API level PS: maybe someone one in the Dropbox dev team, confused the getPathLower() method with the getPathDisplay, on this last updated ( https://www.dropboxforum.com/hc/en-us/community/posts/207428906-Path-changed-for-DeletedMetadata-for-App-folder-files- )
-
Obtaining shared link from VBA (API v2) - 409 Conflict
I have the following code which I modified slightly from this link. The return is a 409 Conflict error. I believe the issue lies in how I'm structuring the path string, but I admit to this being well beyond my limited VBA programming skills (more of "mosh thing together until they work skills." Can someone provide some…
-
Recreate the user using dropbox api v2
Hi All, I created the user using dropbox api. I deleted the user and tried to create the same user again. I am getting this response when i do it. ".tag": "complete", "complete": [{".tag": "user_already_on_team", "user_already_on_team": "abc@abc.com"}]} But i am expecting user to create. Can some one help on that.
-
files/get_metadata has incorrect case for path_display
If I fetch the metadata for a folder and check the path_display, I get the mixed case path as desired. But if I fetch the metadata for a file within that folder, the entire path is lower case. path_display and path_lower are identical. path_display does NOT match what is displayed on the Dropbox website. I noticed the…
-
Listing Shared & Deleted Files v2.1.1 Java API
Hi All, Newer to Dropbox development so my apologies for any noobishness. I haven't seen another solution on stackoverflow or this forum. I'm attempting to list out all files and folders that have been soft-deleted, including shared items. My solution successfully lists out non-shared items and I can list out shared items…