Known issues updated. Learn more
February contest: Post your Paper workflow to win a Dropbox t-shirt and tote bag!no
I am using Dropbox API to integrate Dropbox features in one of my developing windows application.
Now the scenario is like, I have one business account and one private account configured in my computer.
Now I want to develop a feature which can get a list of dropbox accounts configured in a computer so that application can ask the user to select preferred Dropbox account to use into the application.
Now how can i get the list of configured dropbox accounts through Api or any other way?
Solved! Go to best answer.
There's already an answer for this post:
jump to the answer
|
Are you referring to getting the Dropbox accounts that already configured in the official Dropbox desktop client application? You can find the paths to the local Dropbox folders programmatically as documented here: https://www.dropbox.com/help/desktop-web/locate-dropbox-folder#programmatically
That only offers a few pieces of information about the local Dropbox folders. If you need more functionality than that, you'd need to use the Dropbox API, and have the user authorize your app via the OAuth app authorization flow. That results in an access token you can use to talk directly to the Dropbox API servers, not the local Dropbox desktop client application. You can have the user process the authorization flow multiple times to connect multiple accounts if desired though, in which case you'd have the app store multiple access tokens.
There's already an answer for this post:
jump to the answer
|
Are you referring to getting the Dropbox accounts that already configured in the official Dropbox desktop client application? You can find the paths to the local Dropbox folders programmatically as documented here: https://www.dropbox.com/help/desktop-web/locate-dropbox-folder#programmatically
That only offers a few pieces of information about the local Dropbox folders. If you need more functionality than that, you'd need to use the Dropbox API, and have the user authorize your app via the OAuth app authorization flow. That results in an access token you can use to talk directly to the Dropbox API servers, not the local Dropbox desktop client application. You can have the user process the authorization flow multiple times to connect multiple accounts if desired though, in which case you'd have the app store multiple access tokens.
There's already an answer for this post:
jump to the answer
|
Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.
Not the right discussion for you? Find out what else our Community has to say about API Support.
Or, search our Help Center for even more.