Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
mattzj
9 years agoExplorer | Level 3
Shared folders specific to current logged in user.
Hi there i am attempting to set up an application that allows myself to have a portal for my clients. A client would visit the log in page and then be redirected to a page that showed them folders th...
- 9 years ago
Yes, sharingListFolders[/Continue] lists all of the shared folders the user has access to.
You can list the shared folders using sharingListFolders[/Continue], and then use sharingListFolderMembers[/Continue] to check the members, i.e., to see if it's a folder just between you and the user.
Greg-DB
Dropbox Community Moderator
9 years agoThis sounds like something you should be able to accomplish without using the team endpoints. What are you stuck on with sharingListFolders[/Continue] exactly?
Note that whether you use the user's access token or your own access token, it sounds like you'd need to filter the results of sharingListFolderMembers[/Continue] in order to list only the folders you're interested in. I.e., just the ones between you and user. Alternatively, you could just persistently keep track of the relevant shared folder IDs over time and filer that way.
Note that whether you use the user's access token or your own access token, it sounds like you'd need to filter the results of sharingListFolderMembers[/Continue] in order to list only the folders you're interested in. I.e., just the ones between you and user. Alternatively, you could just persistently keep track of the relevant shared folder IDs over time and filer that way.
- mattzj9 years agoExplorer | Level 3Yes that’s my problem. I need to filter the results returned by sharedFolder.
Correct me if I’m wrong but sharinglistFolders returns an array of all shred folders that user has access to.
I would like the user to only see shared folders between the user and myself. Is there a way to do this with api endpoints/arguments or should I just assign a prefix to my shared folders such as FAKECO and create my own function for sorting through the folder names returning those that matched.
Thanks so much for the quick reply- Greg-DB9 years ago
Dropbox Community Moderator
Yes, sharingListFolders[/Continue] lists all of the shared folders the user has access to.
You can list the shared folders using sharingListFolders[/Continue], and then use sharingListFolderMembers[/Continue] to check the members, i.e., to see if it's a folder just between you and the user.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!