Comments
-
In order to allow arbitrary end-users to connect your app to their own Dropbox accounts, you should implement the OAuth app authorization flow. Note however that this should no longer be processed in a web view. This should only be done via the user's system browser, per the documentation. I don't believe we have an…
-
Unfortunately, as 'X-Dropbox-Request-Id' isn't officially documented or guaranteed, I can't recommend relying on it like this. It can be useful when working with Dropbox to debug issues, but we don't currently guarantee it, due to some various backend details. I'll send this along as a feature request to make this reliable…
-
@"elsigh" Yes, apologies for the confusion, but currently, app folders are incompatible with shared folders, meaning you can't share an app folder as a shared folder (only as a read-only link), put a shared folder inside an app folder or put an app folder in a shared folder. So, the behavior and restrictions you're seeing…
-
@"elsigh" Thanks for the note!
-
Thanks for the feedback! I'm passing this along to the team.
-
@"harrysfil" To get started with the Embedder, check out the documentation and the blog post. Those cover how you can get started with using the Embedder. If something isn't working as expected, please let us know and we'll be happy to help.
-
@"Dattelpalme" If you're using the Embedder via anchor tags, you can control the height via the 'data-height' attribute on the <a> element. If you're using the Embedder via JavaScript, the height will be determined by the height of the element passed to Dropbox.embed, so you should style that element however you wish with…
-
I see you're calling Sharing.ListFoldersAsync to list the shared folders in the account. (By the way, make sure you check ListFoldersResult.Cursor to see if there are more entries to retrieve, in which case you should call back to ListFoldersContinueAsync.) The ParentSharedFolderId property will only be set if the folder…
-
No, unfortunately the API doesn't offer the ability to request a different export type, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
The Dropbox API does have a general rate limiting system, but note that not all 429s and 503s indicate explicit rate limiting, but in any case that you get a 429 or 503 the best practice is to retry the request, respecting the Retry-After header if given in the response, or using an exponential back-off, if not. For…
-
@"TobiasR" Thanks for the feedback! The user can interactively zoom in/out, but there currently isn't a way for the app to specify a particular default zoom level. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
@"evry1falls" The error originally mentioned here occurs when your app attempts to use a redirect URI that you haven't pre-registered for it, so double check that you've registered the exact redirect URI that you're using. You can find more information on how to do so in my earlier comment.
-
Yes, using a full Dropbox API app to upload to a shared folder like that would work.
-
I don't have an update on this from the team yet. I'll follow up here once I do.
-
Thanks! I see you don't actually have the "Handle redirect back into SDK" step implemented in your AppDelegate.swift. Please make sure to add that as documented. Also, I noticed from your use of 'UIApplicationSceneManifest' in your Info.plist that this uses scenes, so make sure you also implement the handler…
-
Thanks, that's helpful. Can you confirm you used the API to create and delete the folder as well? It looks like I was doing something different in my test which resulted in a different behavior. We'll look into the behavior you're seeing.
-
If you only need to upload the files to a single folder via the API and don't need to otherwise share the folder with others via Dropbox, the best thing to do here would be to register an app for the "app folder" permission. Access tokens for apps with this permission can only access the special "app folder" created for…
-
No, the Dropbox API unfortunately still does not offer a way to retrieve the app name like this.
-
Yes, when I refer to "teams", I mean Dropbox "Business teams". The "Development Teams" number listed for your app on the ap's page on the App Console is not exactly the number of times the OAuth flow was executed for the app, but rather how many distinct teams have been connected to the app. While any particular user…
-
Using the Dropbox API v2 .NET SDK, to suspend a member you can use the MembersSuspendAsync method, and to delete a member you can use the MembersRemoveAsync method.
-
Please note that file IDs are case sensitive, and can vary only be case, so you should always use case-sensitive comparisons. In the sample you shared here, the file IDs are different by case. The second to last characters use different cases.
-
Thanks for checking that. Can you also check: * Are you using the latest version of the SwiftyDropbox SDK, currently v5.1.0? If not, please upgrade to that and try again. * Does your app happen to use scenes? If so, please try the change covered here: https://github.com/dropbox/SwiftyDropbox/issues/259 Otherwise, please…
-
No, unfortunately I can't think of any other workarounds for this.
-
I don't believe we have any documentation or guarantee on when you might expect to see more than one team per notification unfortunately. If/when that happens though, it would still just be signed with the same app secret for your app. A single app can be used to connect to multiple different teams. The app key/secret…
-
If you call /2/sharing/list_shared_links without specifying the "path" parameter, it should return a list of all of the shared links for the connected account. You could then check the list of files against that entire list of shared links. That would likely be faster than calling /2/sharing/list_shared_links for each one.…
-
I don't believe the Dropbox API OAuth 2 authorization code exchange uses the client's time. In fact, the client isn't supposed to send its client time in the /oauth2/token HTTP request anyway. The authorization code itself does expire though, after a few minutes (based on the Dropbox server time when the code was issued…
-
Thanks for the report! This looks like this may just be an issue on our side. We'll look into it. I'll follow up here once I have an update on this from the team.
-
I see, thanks for the additional context. I can't think of a better system for this use case unfortunately.
-
The public Dropbox API doesn't offer a direct way to get the total size of a folder, or to get the size of cloud file content, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The functionality you found on the web site is not part of the public Dropbox API…
-
You have the right idea here. As you found, some cloud files, such as Paper docs, can't be downloaded via the normal Download method. You need to use Export for those instead. You can either just try to Download the file and catch the UnsupportedFile error, at which point you would use Export instead, or you can check the…