Comments
-
These sessions don't expire, nor do the access tokens themselves. (Note that access tokens can be explicitly revoked though, e.g.,via https://www.dropbox.com/account/security .) Further, the App Console lets you generate an access token for your account and app, but it will only show you that token when you generate it. If…
-
Using the Range header would be the right way to limit the return size, and download files in chunks. The best solution here is to use the "direct" link type, which gives you a direct link to the file content, as opposed to the "preview" link type, as you have in your post. The preview link type gives you a link to a…
-
Yes, the unit is bytes, and shared + unshared = total.
-
The 100+GB bucket is the largest bucket currently returned member_storage_map, but I'll send this along as a feature request to add larger ones. If you're just looking for the amount of space used by the team in total though, yes, total_usage would be better to use.
-
Searching around I found a few references to this Play Store link, which is no longer active.
-
No, Dropbox does not offer any interface for programmatically creating accounts.
-
No, the Dropbox API doesn't currently offer a way to create accounts, but I'll be sure to pass this along as a feature request.
-
Is the output you shared from before or after you installed readline? In any case, based on the error message you've shared, it looks like your system doesn't have readline installed, or it isn't available to your app for some reason. That line of code prompts the user to enter the authorization code they receive from the…
-
This should be fixed now. Please let us know if you're still having any trouble.
-
Thanks for the report! We're looking into it.
-
Hi Jay, if you're using using the redirect flow, i.e., with DropboxOAuth2FlowNoRedirect, you need to pass all of the args to .finish(), so that the state can be checked as well, not just code. Also, you only need to call .start() when sending the user off to the auth flow initially, and not again when they come back via…
-
You're correct that unfortunately the thumbnails API call can currently only return a single thumbnail at a time. I'll be sure to pass this along as a request for a batch version though. For reference, the Dropbox API does have a rate limiting system, though we don't currently have any specific numbers documented. You can…
-
Shared links are valid until the user revokes them, either explicitly via https://www.dropbox.com/links or implicitly by moving or deleting the file.
-
Rafal, it sounds like you mean you'd be scraping the web site. This isn't supported, and is likely to break. (It's also against the terms.) Instead, if you need a long lived direct link to a file, you should use the method described previously. Call /shares with short_url=false, and modify the link as shown…
-
You can set the short_url parameter to false to get the long URL directly.
-
The expiration information for a link from /media is returned in the "expires" key in the response: https://www.dropbox.com/developers/core/docs#media It's not currently possible to change that, but if you instead need a longer-lived link, you can use /shares instead: https://www.dropbox.com/developers/core/docs#shares…
-
The API doesn't currently offer a call for uploading multiple files at once, but I'll be sure to pass this along as a request. That being the case, you'll need to loop through the files you want to upload and upload each one individually.
-
Thanks for the feedback! I'm sending it along to the team.
-
Thanks for the feedback Josh. I don't have an update on this unfortunately, but I'll send along your feedback as well.
-
Thanks for the feedback Marius!
-
I'll be happy to update this thread if/when I have any news on this.
-
Thanks for the additional feedback Evgeny! I can't speak to why or why not particular changes are or aren't implemented, but we appreciate everyone taking the time to write, and I'm sending this along to the team.
-
I don't have an update on the Dropbox for Android app potentially returning content:// links for ACTION_GET_CONTENT in the future, but I'll be sure to pass this along as feedback.
-
openInputStream was added in API level 1 and is documented to support both content and file schemes, so it looks like it should work.
-
Thanks for your patience Craig. I heard back from engineering here with the following information: * FLAG_GRANT_READ_URI_PERMISSION seems to have no effect. * On Android API level 18 (and presumably probably below), specifying READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE does not matter. The calling app is able to read…
-
Still no news on potentially using content:// instead yet, but I'll ask engineering if something changed about the existing behavior/any guidance.
-
Apologies, no update right now. I'll check in with the right people again.
-
Thanks for the report! I'm sending this along to the right people.
-
You should certainly be able to access files in subfolders using the API, by specifying the path of the subfolder, e.g., /foldername/subfoldername. This thread was about a specific scenario with the sample app, so if you're still having trouble, please open a new thread with more details:…
-
By default, the Photos folder exists at /Photos, so that DBRoulette example will only work for non-app folder permission apps, since app folders exist at /Apps/{app folder name}. You can create a Photos folder inside /Apps/{app folder name} manually though, e.g., via the web site. Anyway, sample app aside, the "My app only…