简体   繁体   English

与Javascript SDK V2共享Dropbox文件夹

[英]Share Dropbox folder with Javascript SDK V2

I'm trying to implement service in my Angular 2 application that will work with Dropbox service with Javascript SDK V2. 我正在尝试在Angular 2应用程序中实现服务,该应用程序将与Javascript SDK V2的Dropbox服务一起使用。 My model looks like this: 我的模型如下所示:

User create folder with photos -> in app user share folder

How to implement method that will share this folder, if folder haven't shared_folder_id ? 如果文件夹没有shared_folder_id ,如何实现将共享此文件夹的方法?

If a folder isn't already shared, you can use the sharingShareFolder method in the official Dropbox API v2 JavaScript SDK to share it. 如果尚未共享文件夹,则可以使用官方Dropbox API v2 JavaScript SDK中sharingShareFolder方法进行共享。

You can then use sharingAddFolderMember to invite other users to it. 然后,您可以使用sharingAddFolderMember邀请其他用户加入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM