Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
What I'm building:
A ruby on rails app that automatically creates a folder and will share it with people they choose. BUT i don't want the customer to have to go to dropbox.com to do all this.
Is it possible to do this through my ruby on rails app without redirecting my users to dropbox.com (i understand they will still need to authenticate their dropbox account)?
Yes, after you send the user to the Dropbox web site to process the app authorization flow, your app recieves an access token it can use to make API calls for the user's account, without sending the user to the Dropbox web site again. This includes API calls for sharing folders.
To share a folder in the user's account, you should use the /2/sharing/share_folder call:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder
And then to invite other people to that folder, you should use the /2/sharing/add_folder_member call:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-add_folder_member
Hope this helps!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!