Comments
-
The Dropbox Android SDK (like the rest of the SDKs for other platforms) is built on the Dropbox API HTTP endpoints, meaning that it enables apps to communicate directly with the Dropbox servers to integrate with Dropbox. The official Dropbox Android app itself does offer some intents, unrelated the above API. Using intents…
-
It's no problem! The user can change accounts if they want before clicking "Allow". You may want to set force_reapprove=true though. Otherwise, Dropbox may automatically redirect them before that can do so. You can find more information on that parameter here:…
-
The ListFolder interface supports pagination via multiple calls to listFolder and listFolderContinue. The pages will generally be up to about 2000 entries, but there are various factors that can affect that, so don't rely on that number. You should always check ListFolderResult.hasMore to determine if you should call back.
-
I'm not sure I understand what you mean when you say "it seems to be difficult to install the similar drop down in the private redirect_uri, doesn't it?" Can you elaborate? If that's your own private page, you can design it however you'd like.
-
[Cross-linking for reference: https://stackoverflow.com/questions/44961671/dropbox-api-get-the-auth-code-issue ] I'm not sure I understand your question, but it sounds like you may be trying to query the authorization code out of the HTML of the page after the user authorizes your app on /oauth2/authorize. You shouldn't…
-
Hi Akshata, the maximum will generally be about 2000 entries, but this isn't documented or guaranteed, so please don't rely on this number.
-
The /oauth2/authorize web page itself shows the user which account they're currently logged in to in the drop down in the upper right corner of the page. They can also switch which account they're logged in to by signing out and in there, before authorizing the app.
-
Hi Rik, I can't help with issues for the web site itself, so please open a ticket with support here: https://www.dropbox.com/support
-
I'm not sure offhand what the cause of this would be or how to solve it. Are you able to remove the reference or retarget the application, per the error message? In any case, what version of Visual Studio are you using? Also, there are some posts here that may be helpful:…
-
Thanks for the feedback! I don't know what the specific conditions may be, but I'll send this feedback along to see if we can simplify this in the future.
-
That's correct, the batch endpoints don't return errors themselves. These would only be returned by the check endpoints. I can't speak to why it's constructed this way, but I suspect it's just that the batch endpoints don't use the same mechanism as the non-batch endpoints and the error information isn't available at the…
-
Hi Rik, there was an issue affecting /save_url yesterday, but that should be fixed now. Please let us know if you're still seeing any problems. Thanks!
-
Thanks for the post! The documentation's reference to streaming the content is referring to streaming it in media players, for example. It isn't intended for displaying in the browser. There isn't a way to control that unfortunately, but I'll pass this along as a feature request.
-
In API v2, you can look up the information for a "deleted" file (including a file which was actually just moved) using /2/files/get_metadata: https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata If you set include_deleted=true, it will return the metadata for the file at the old location.…
-
When Dropbox sends the user back to the redirect URI specified by your app, it will include the 'account_id' for the account that authorized the app, along with the other parameters, on the URL fragment. You can find the documentation for all of the pieces of information returned here:…
-
Thanks for following up. I can't say offhand if that's expected, as these may be using different mechanisms. We'd have to take a closer look. Please feel free to open a ticket with details/code if you'd like us to do so. Thanks!
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-java/issues/125 ] No, you do not need to register a new app key to use API v2. (One exception to that would be if your app is registered for the "file type" permission, which isn't supported by API v2.)
-
Hi Chris, is your app registered for the "app folder" permission? If so, note that everything the app can access and operate on will be inside the /Apps/<app folder name> folder inside your Dropbox. So, for example, if the app acts on /<subfolder name>, that will actually be at /Apps/<app folder>/<subfolder name> when you…
-
Thanks! We'll look into it.
-
Hi Brendan, we'll be happy to look into this, but we could use a few more pieces of information: - when this started occurring - the specific steps we can follow to reproduce the issue - any other relevant code snippet(s) Please open a ticket here with that so we can route this appropriately:…
-
If you're interested in the Dropbox Reseller program, please fill out the form at the following link for more information: https://www.dropbox.com/business/reseller
-
That's correct, we won't be making any of these changes during this two month span while developers update to the fixed SDK.
-
1) I don't have a specific date for when this may start occurring, since this is about changes (that were supposed to be backwards-compatible) that we may need to make in the future which may not even be planned yet. 2) The issue that was fixed is actually a general deserialization issue that can affect any endpoint in the…
-
The file ID should be unique across different files. Can you share the output you're getting where they're identical? (Note that case matters in file IDs, so make sure you're using case-sensitive comparisons.)
-
Yes, if you're interested in being a Dropbox Reseller, you can get started here: https://www.dropbox.com/business/reseller
-
The access token you use identifies which account you connect to. You can store and re-use multiple different access tokens to support using multiple different accounts. There's some more information here: https://github.com/dropbox/dropbox-sdk-java/issues/92
-
You should use 3.0.3. You can find an example of using DbxRequestConfig with it here: https://github.com/dropbox/dropbox-sdk-java/blob/395d463840778b4c6ec730aef82b0a9dbee10f8e/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxClientFactory.java#L17 I'm not sure what's causing the DbxException issue…
-
Thanks for the additional feedback! I don't have an update on this, but I'm adding your vote to the request. And yes, that's part of the OAuth 2 flow, which isn't changing.
-
The files_download method is the closest to what you were using. The files_download_to_file method takes an extra parameter for saving the file locally for you. So either of these should be equivalent to your old code: metadata, f = dbx.files_download('/'+ j) out = open(j, 'wb') out.write(f.content) out.close() or just…
-
Can you share the code that causes the error, and the full error/output you're getting? Thanks in advance!