Comments
-
Yes, you can also request help with the Dropbox developer platform, such as for the Embedder, privately by using the form here: https://www.dropbox.com/developers/contact
-
@"evry1falls" Per the /oauth2/authorize documentation, the Dropbox OAuth app authorization flow should be processed in the system browser, not a web view. There's more information linked there, but in short, this is both to comply with Google's policy (since Dropbox offers Google Sign In as an authentication option), as…
-
Is that the actual code you ran to produce that particular error? The error mentions the 'dl.dropboxusercontent.com' hostname, which is a real Dropbox hostname, but isn't what you should be using for this API call, and isn't used in your supplied code anyway. In any case, for the code you shared, it looks like there are…
-
There aren't any other methods that aren't documented that you would need to perform these operations. You can share folders using /2/sharing/share_folder and add members to any particular shared folder using /2/sharing/add_folder_member. Note however that having nested shared folders is only allowed inside team folders.…
-
If you're getting an error saying that the shared folder is already mounted, that indicates that the folder has already been mounted in that user's account. That could be because the user already did so manually, or by virtue of the user already having it mounted via a parent folder. For example, that could happen if the…
-
Adding a member/group to a shared folder via /2/sharing/add_folder_member gives them access to the shared folder, but it does not automatically start showing the folder in their file/folder listing. The shared folder would need to be "mounted" in the account first. The recipient can do so manually as covered here, or an…
-
@"hahmed44" I just gave the code you shared in this comment a try in Chrome and it actually worked fine for me and played the audio. Likewise, I checked the Dropbox shared link itself and it also seems to be working. That being the case, it sounds like this may be an issue with your browser or media player, but…
-
Dropbox doesn't offer this exact functionality, but if you're a programmer you could build this into your own site. For instance, you could prompt the user for their email address on your site, and only them return the shared link. You can also list and create shared links via the Dropbox API programmatically.
-
I'm glad to hear you already sorted this out. For anyone else who comes across this with the same issue, note that to delete a file via the API, you should supply the Dropbox path of the file, not the URL. For example, when calling DeleteV2Async, you can supply the Metadata.PathLower or FileMetadata.Id value as the "path"…
-
Thanks for confirming that! It looks like creating this folder via the API as opposed to the web site is what made the difference here. This is open with the team and I'll follow up here once I have an update on this.
-
@"Richie4571" The documentation linked in my earlier comments includes samples for calling those endpoints using curl. Exactly what your code to call them would look like would depend on what language, platform, and SDK/library (if any) you're using. We do recommend using one of the official SDKs if possible:…
-
(I've split this thread out to continue the conversation without creating spam for the other participants of the original thread.) @"harrysfil" I understand you're interested in using the Embedder on your WordPress blog. In your earlier comments, you mentioned you're not a developer though. Are you working with a web…
-
Yes, that sounds like a good way to handle the flow of checking for a particular folder and creating it if it doesn't exist.
-
@"evry1falls" I'm not sure I understand your comment. The information in my comment does refer to using the OAuth 2 app authorization "token" flow to allow the end-user to connect the app to their own personal Dropbox account, including shared files, without giving their password to the app. Implementing the OAuth 2 app…
-
It sounds like the cursor you're using is probably for the member's "member folder", but not the "team space". (And so, if the changes happen to just be in the team space, you wouldn't see them by listing the member folder.) The Dropbox API does offer the ability to access and list the contents and changes in the team…
-
No, I don't believe you're missing anything. It sounds like you have a good understanding of the Dropbox API permissions options currently available, but we appreciate the feedback. There isn't currently a way to allow an app to access only a specific pre-existing path, but I'll pass this along as a feature request. I…
-
[ Cross-linking for reference: https://stackoverflow.com/questions/61468956/dropbox-write-only-access-token ] No, unfortunately the Dropbox API doesn't offer a write-only permission or a way to programmatically upload to file requests, but I'll pass these along as feature requests. I can't promise if or when they might be…
-
The filesListFolder/filesListFolderContinue methods only return metadata about the files/folders, but don't themselves offer any way to access the actual file data. If you need to access the file data, you can use the filesDownload method to retrieve the file data directly, or the filesGetTemporaryLink method to get a link…
-
To check if something exists at a particular path, you can instead use GetMetadataAsync. It would return the metadata if the item exists, or will raise an exception with LookupError.NotFound if not. If you only want to check for one particular item, that may be easier/faster than looping through the entire parent folder…
-
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.