Comments
-
1. The filesGetThumbnail (and any other method that returns data in the response) makes the data available in the response's fileBlob property, if you're running in the browser, and fileBinary if you're running in node. So, for example, you can do this: dbx.filesGetThumbnail({path: remoteFilePath}) .then(function(response)…
-
The JavaScript SDK doesn't expose these directly. Instead, the information from the filesGetThumbnail response is translated into a JavaScript object for you. Likewise, the etag value is available as the "rev" metadata.
-
Thanks! We'll look into it. For our reference though, can you also share how you're constructing your client object?
-
Thanks! You don't need to include the app secret, but in any case you can submit it in an API ticket here: https://www.dropbox.com/developers/contact
-
Thanks for following up. I'm glad you got this sorted out already. And for reference, yes, in certain cases Dropbox will automatically redirect you through the OAuth flow if you've already authorized the app. It won't do so if you're using a localhost redirect URI. The information sent to the redirect URI don't change…
-
The Dropbox Business API v1, e.g., /1/team/members/list, only exposed a boolean attribute to indicate if a particular member is an admin, i.e., the is_admin you cited. The Dropbox Business API v2, e.g., /2/team/members/list, exposes more granular admin information, to match the new admin functionality available in…
-
Thanks for the feedback everyone! No, unfortunately there isn't a way to get these IDs or generate these links, but I'll be sure to pass this along as a feature request.
-
@"chuffy" It doesn't look like that's quite the same issue, so please do open a ticket: https://www.dropbox.com/developers/contact Thanks in advance!
-
What output are you getting? The HTTP response body from the API should contain either the metadata for the uploaded file, or an error indicating why the upload failed.
-
What's the URL of the page where you see the 'AccessDenied' output? That doesn't look like the format for an error from Dropbox. Is it your redirect URI itself? If so, I'm afraid I can't offer much help, as that would be an issue with your page, so you'd have to investigate what's happening there to cause that error.
-
@"rms u." While the list_folder endpoint doesn't accept an ID parameter, it does return file metadata that contains IDs, which can be used to track items across changes, such as moves or renames. There are also other endpoints that do accept IDs.
-
O uso da API Dropbox está sujeito às diretrizes e condições. Você deve revê-los antes de desenvolver um aplicativo: https://www.dropbox.com/developers/reference/tos https://www.dropbox.com/developers/reference/devguide https://www.dropbox.com/developers/reference/branding Use da própria API é realmente inteiramente livre.…
-
Acknowledging the API v1 deprecation will not affect your app's operation. It can continue using API v1 until API v1 is retired. API v1 is being retired in June though, so we recommend migrating to API v2 as soon as possible.
-
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: - the version number of the SDK you're using - the exact steps to reproduce the issue, including the code snippet(s) - the full text of the error/stack/any output Thanks in advance!
-
Sure, that may help us investigate. Thanks!
-
This is open with the team, but I don't have an update yet. Can you check if you're still seeing this though? I don't know what the underlying cause was yet, but it may have just been a transient issue.
-
That's just the app key you supplied in your original post. When loading the dropins library, that should always be the app key for the app you want to use the Chooser with. The "riqoimk2j9c8d1m" value does seem to be a valid app key for your app, so that's fine.
-
Thanks for the feedback Steve. We unfortunately had to remove this functionality in order to support users using the Google Sign In flow to sign in to Dropbox when authorizing a Dropbox API app. Google is dropping support for processing their OAuth flow in web views. We do have information about this in the release notes…
-
Thanks for your patience here. We are now reviewing requests for extensions to API v1 access for cases where apps can't be migrated by June 28, 2017. If you still believe you will need an extension for API v1, please open a ticket here: https://www.dropbox.com/developers/contact In the ticket, please include the following:…
-
These libraries weren't written with each other in mind unfortunately, but you can do something like this to work around it: <script src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="riqoimk2j9c8d1m" ></script> <script type="text/javascript"> var Dropbox_Dropins = Dropbox; </script> <script…
-
To use API v2 in iOS with Objective-C, you should use the API v2 Objective-C SDK. The readme there covers how to get started. You can use that to list, download, and upload files, among other operations, that you can use to implement whatever sync functionality you need in your app's logic.
-
The download methods, such as the downloadUrl method you're using, enable you to download a single specified file. The API doesn't offer a way to download files in bulk, so to download multiple files, you should loop through and call the download method for each one you need. (You'll probably want to limit how many you…
-
No, looking at the code you have, you don't need to also call it in didFinishLaunchingWithOptions. For reference, whether or not you're running the checkAndPerformV1TokenMigration method, you need to make sure you call setupWithAppKey once. If you're not using the migration, you can just call setupWithAppKey in…
-
Both of these errors are unexpected. Can you share the steps/code to reproduce them? They may be network issues though, which likely won't reproduce for me though. If that's the case, you'll want to check on any issues with your network connection, and add automatic retrying to your app.
-
[Cross-linking for reference: https://stackoverflow.com/questions/43701623/dropbox-api-get-image-url-to-show-in-my-app ] Unfortunately, the Dropbox API doesn't offer batch calls for this, but I'll be sure to pass this along as a feature request.
-
No, API v2 does not offer a way to get the v1 user ID.
-
There have been a few different Dropbox Android SDKs over the years: * Android Core SDK (deprecated): this offered direct access to API v1 for Android environments. * Android Sync SDK (deprecated): this offered abstracted access to API v1, by offering a local-filesystem-like interface, for Android environments. * API v2…
-
[Closing as duplicate of: https://www.dropboxforum.com/t5/API-support/Sync-functionality-using-V2-in-android/m-p/218351#M11452 ]
-
Yes, while existing OAuth 2 access tokens can be used with API v2, the Android Core SDK only makes API v1 calls, so you need to update to the API v2 Java SDK.
-
[Cross-linking for reference: https://stackoverflow.com/questions/43705630/how-do-i-revoke-generated-access-tokens-for-dropbox-applications ] a) The Dropbox web site/API don't offer a way to list individual access tokens. b) There are several ways to revoke access tokens. * The user can revoke all access tokens for an app…