Comments
-
(this was the outcome of trying to move a folder within User B's App Folder in the Web UI)
-
In the meantime, what do you think about my idea of preserving the original cursor and just starting the poll again?
-
Sure! Here's how I repro'd it on my side: I called https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder/get_latest_cursor with path: "/Apps/Songbook.Studio/Library" (if you need ids from me instead let me know) then I called https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder/longpoll with…
-
It's at least possible that in this case my app could ignore/not store the returned cursor and just restart the longpoll but that seems hacky
-
Hey @"Greg-DB" - ok that's great to know. I haven't gotten to testing renaming/deletion so I'll look out for that. But does that cover the folder being polled? e.g. if I'm polling a folder A and a user goes and renames folder A to folder B I would catch that somewhere? I've been implementing as you suggested here but I'm…
-
I wonder if one thing not covered in this flow is, say, if the folder name is changed in Dropbox.. Maybe that's why they (and I) want to call `filesGetMetadata` as well on the folder in addition each time. Is there another/more efficient way to catch and handle that from the client side? I will double check that the…
-
Thank you so much, totally works!
-
But `sharingGetSharedLinkFile` requires an URL and all I have in those entries is an `id` (and some other fields, but not `url`) - is there any other way I should go about this? Gracias!
-
Hey @"Greg-DB" - I've changed our app back to the full dropbox permission for now, but I have a couple more challenges trying to implement the approach we outlined before. I'll start with this one since it would give two users a shared-editable folder: Use case: User #1 adds User #2 to a folder by email in our App* User #1…
-
I feel like I'd never want to give any app (certainly some utility app) the ability to read every folder/file in my dropbox, but I'd trust almost app to a particular directory and contents within, just like I do with users. This seems like an pretty unfortunate design in terms of user privacy. I can't imagine users will…
-
Ok, so I tried another direction. I sent a shared link from user #1 to user #2 but then trying to access it as user #2: {"error_summary": "shared_link_access_denied/..", "error": {".tag": "shared_link_access_denied"}}
-
I tried creating another folder in the Dropbox web client and choosing "Share with specific people" and got this, which is stuck:
-
I tried to share the folder in the Dropbox MacOS client but get this: Starting to wonder if the "App Folder" permission is at the root of what's dogging me. I don't recall being so hamstrung until we made the decision to change that in the interest of user privacy.
-
Ah, I'm just now seeing the "This folder can only be shared as a link" banner, which must be relevant.. I wonder if it's because this is a folder at the root level of my App Folder? aka it's /Apps/Songbook.Studio/Commoner .. maybe I'm heading into the rabbit hole.
-
Hey @"Greg-DB" So I'm trying to get the `shared_folder_id` as user #1 but I'm not successful. Heres' what I see in Dropbox for the folder. I'm the owner: I call `/files/get_metadat` but I don't see anything to use as a `shared_folder_id`: The folder is link-shared: So it seems I don't have what I need to programmatically…
-
Another bit here - I have an app with App Folder permission only so when we open the chooser it would be nice to have it start in that folder, otherwise it's always going to go badly I think.
-
Any updates by chance? Confirmation that this is a bug vs by design would help me. Seems like a punishment for picking a better permission model atm ;)
-
Yeah, I think when I've talked to the designer about a flow that makes sense we settled on: User #1 shares a sharedLink with User #2, which gives User #2 read-access in our App to all the content in the folder. This way we at least can deliver value to user #2 as context. Otherwise someone is just going to out of the blue…
-
So I'm taking a stab at this.. My User #2 who has a shared link sends a request to sharingGetSharedLinkMetadata and gets back a folder object but the id in that response doesn't work as the shared_folder_id arg to sharingGetFolderMetadata. When I get a files within that folder though each file object includes a…
-
So those interactions need to happen in Dropbox and can't be done via API right? Also, at the end of it all, how will I as a developer on behalf of user #2, know that User #1 has granted access? I guess once I know that I can 1) mount the folder if needed and then 2) get it's real id to store in my app and fetch contents…
-
Hey @"Greg-DB" - thank you for going through this with me.. you mentioned: "get the "preview_url" of the shared folder which other users can use to request access to the shared folder for mounting and editing." above. Can you describe how this flow might work in terms of the API? e.g. User #1 sends a text with a sharedLink…
-
Ah, that last part sounds exactly like what I want to explore, thanks Greg! So I've created a shareLink for my folder and requested the `short_url`. `folder.url` is https://www.dropbox.com/sh/is3b7lj3go9g9ul/AACKo9xo_qf0rn0kh4TIZSgza?dl=0 `short_url` is https://db.tt/eMUUFEZY8d When I try to use that `short_url` in a call…
-
My application wouldn't know existing folders my user has shared with their friends, but could walk their dropbox and amass a contacts list (yucky though). Looking at SharingAddFolderMemberError it does appear that if I tried to share with an incorrect email it might not work though.. if I shared a SharedLink would there…
-
What if I do already have a connection to the other user in dropbox (we've previously shared some things)? How would I go about getting their dropbox id? Is there a way (short of just walking through every file and every share bit on it) that I can access my contacts in dropbox? Also what if I send it to user #2's email…
-
Ah, egads, thank you!
-
dbxClient.sharingGetSharedLinkFile({url: "https://www.dropbox.com/sh/pytim78xyjqj3di/AACXk4N35DeQpR14dPxLRFOla?dl=0", path: "/winllin.pro"}).then(resp => { console.log(resp); }).catch(err => { console.error(err); }) {"error_summary": "shared_link_not_found/.", "error": {".tag": "shared_link_not_found"}}
-
Ok, I tried this and I can't make it work. for instance I have the shared link (to a folder full or text files): https://www.dropbox.com/sh/pytim78xyjqj3di/AACXk4N35DeQpR14dPxLRFOla?dl=0 Inside that folder, as enumerated by filesListFolder I have items like: { ".tag": "file", "name": "willin.pro",…
-
I'm having the same issue. I have a shared_link to a folder and I'd like to enumerate each file in that folder and be able to download each one independently. I'm using the Javascript version of the SDK. So I'm calling filesListFolder({url: "", shared_link: {url: myURL}} and that returns a list of file metadata but I…