Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi
I need to upload files to each and every dropbox users using vb.net. There is no interface to allow premission, it just import background.
For eg : i have 5 dropbox users emails only, for five users i need to upload files and i have my own account and dropbox app also created with my password,so how to import files to that 5 users from my app ?
i have following code to import files to my dropbox only (app created dropbox account), so how to import files to other 5 users.
code Screenshot : http://prntscr.com/s7x4q9 - using this code can import to my dropbox only,so how to allow other user also can get file once import.
Regards,
Aravind
In order for an app to upload files to any particular Dropbox account, it needs authorization from the user of that account. To request authorization from the end-user, the app should implement and use the OAuth app authorization flow. (The Dropbox API v2 .NET SDK offers a DropboxOAuth2Helper class for this. There's also an example app that uses it here.)
The result of this is an access token for that user's account, which would be in place of the 'xxxxxxx' string seen in your screenshot. Using that access token would allow the app to upload to the user's account. The app only needs to process the OAuth app authorization flow once per user. It can store and re-use each access token for each respective user.
Alternatively, if it makes sense for your scenario, you could invite the other users to a shared folder in your account, and then just upload to that shared folder via the API using an access token for your own account, and those files would automatically sync to the other members of the shared folder.
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!