Comments
-
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.
-
It looks like you already got some helpful comments there, but I replied as well.
-
That "< Dropbox" is a feature of recent versions of iOS. It's a shortcut back to the previous app after you switch between apps. That's a system feature, so I don't believe we have control over it, but it doesn't indicate that you're still in Dropbox. Regarding the openURL issue, your code looks right. That openURL method…
-
I posted an answer here: https://stackoverflow.com/questions/43661690/how-to-handle-error-in-dropbox-c-sharp-sdk/43667655#43667655
-
If you use BeginGetThumbnail, you'll need to also use EndGetThumbnail. The Begin method fires up an async operation and the End method blocks until it completes. That would look something like this: var asyncResult = this.client.Files.BeginGetThumbnail (path); // ... var thumbnailResult = this.client.Files.EndGetThumbnail…
-
For existing apps that previously used API v1, the developer of the app needs to acknowledge the deprecation of API v1. If they haven't this message will be displayed. The developer of the app should do so by signing in to the account that owns the app and going to the App Console. There will be a banner there with a…
-
Unfortunately, no, it's not possible to configure webhooks for specific actions or paths in particular, but I'll be sure to pass this along as a feature request.
-
The Dropbox API doesn't offer a way to filter files by type on the server like this, but you can implement the filtering client-side.
-
I recommend reading through the readme file for the API v2 Objective-C SDK to get started. That covers the basics of using the SDK. You can also refer to the sample app. The SDK offers methods for listing, downloading, and uploading files, among other operations. The SDK doesn't do syncing automatically for you, but you…
-
To rename any file or folder using the API v2 Objective-C SDK, you should use the move method: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)move:toPath:
-
Webhooks are being sent now, but the service hasn't caught up on the backlog yet, so there will be still some delay.
-
Thanks! I'm sending this request along to the team.
-
We've had our engineers working on this and the good news is the problem has been fixed. The backlog is being processed now. My apologies again for any inconvenience this caused.
-
We're looking into it. Apologies for the inconvenience.
-
Unfortunately I don't have a timeline for if/when that would be implemented, but I'll be sure to pass this along as a feature request.
-
This error message is expected in this case, as the file path you supply can't end with a "/", as yours does (@"/Test1/"). When uploading, you should supply the full path, including file name. You probably meant to supply something like @"/Test1/water.jpg" instead.
-
Hi Amir, any apps still using API v1 SDKs will no longer be able to successfully make API calls. Any further API v1 calls will fail with a 400, which the SDK will translate to its native error type. The linkFromController method in particular may continue working to some extent since that isn't an API call made to the…
-
Did you set include_media_info=true on /2/files/list_folder (not /continue) when you called it to retrieved the cursor initially? If you requested media information, there can be a delay before new entries will be returned (including from /continue), while the media information is being extracted. If not, the entries…
-
Thanks! That's helpful. It looks like you're defining your own updateAccessToken method. That's actually an existing method on DBSession though. You shouldn't define your own. You should call that on your DBSession instance before attempting API calls such as loadMetadata.
-
There's an example of using unlinkAndResetClients in the sample app here. Your usage looks correct though, and the method is working correctly for me. How are you checking if it worked? You generally should just check if [DBClientsManager authorizedClient] is not nil. Also, what version of the SDK do you have installed?…
-
You should certainly be able to use characters like this. 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 steps to reproduce the problem - the name and version of the platform and SDK/library you are using - the full text of the…
-
The API v2 Objective-C SDK works quite a bit differently than the API v1 iOS SDK, so I recommend looking through the readme file for the API v2 SDK first to get started. For example, the API v2 SDK doesn't use delegate methods like the v1 SDK did. It uses response blocks instead, that you set when you call the method. To…