Greg-DB Dropbox Community Moderator

Comments

  • 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…
  • If you delete an app's app folder, that will effectively unlink the app, so further API calls will fail. If you want to use the app again, you'll need to link the app to your account again. (Just restoring the folder won't do this.) To relink the app, you can either process the OAuth app authorization flow, or generate a…
  • Hi Simon, thanks for clarifying. I just took a closer look at this and I believe the SharedFolderMetadata.preview_url will actually work the way you want in this case. (Apologies I didn't think of that in my earlier reply.) That is, you can call /2/sharing/list_folders[/continue] to list the shared folders in an account,…
  • 1. To set parameters like those, you should supply values like this: var asyncResult = this.client.Files.BeginGetThumbnail (path, Dropbox.Api.Files.ThumbnailFormat.Jpeg.Instance, Dropbox.Api.Files.ThumbnailSize.W64h64.Instance); 2. That IsPhoto is unfortunately not what you're looking for. That just tells you the…
  • Yes, after you send the user to the Dropbox web site to process the app authorization flow, your app recieves an access token it can use to make API calls for the user's account, without sending the user to the Dropbox web site again. This includes API calls for sharing folders. To share a folder in the user's account, you…
  • It's difficult to say off hand where the issue may be. Have you tried stepping through with the debugger to see where/why your code is uploading more than expected?
  • No, unfortunately the API doesn't offer a way to get thumbnails in bulk like that, but I'll be sure to pass this along as a feature request. You'll need to call for each one you need.
  • The Android Core SDK v1.6.3 you're using uses API v1, which is deprecated, so you should migrate to API v2. To use API v2 in Android, you should use the API v2 Java SDK. (The OAuth version is not the same as the API version. API v1 supports both OAuth 1 and OAuth 2. API v2 supports OAuth 2 only.)
  • To use API v2 in Android, you should use the API v2 Java SDK. 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.
  • Hi Akshata, no, unfortunately, the API doesn't offer a way to get the counts like this, but I'll be sure to pass this along as a feature request. You'd need to page through and count the results to get the total number.