Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Garnik G.
11 years agoExplorer | Level 4
How to get files by DropBoxRest API in C#
Hi
My goal is to get files by DropBoxRest API in C#
Here is my code
var options = new Options
{
ClientId = "", //App key
ClientSecret = "", //App secret
RedirectU...
Steve M.
Dropbox Staff
11 years agoIt looks like you're using this library: https://github.com/saguiitay/DropboxRestAPI.
You might consider asking the author for help.
The "authorization code" is generally what gets displayed when you browse to https://www.dropbox.com/1/oauth2/authorize?response_type=code&client_id=<YOUR-APP-KEY>. It looks like AuthorizeAsync returns that kind of URL, so you should then browse to the URL, get the authorization code displayed there, and use it in the next step. (You'd have to prompt the user somehow to enter the authorization code before proceeding.)
This code looks like it might be useful for a command-line app? With a web app, you would use redirects to move the user through the OAuth process (e.g. https://github.com/smarx/othw/tree/master/C%23), and for a desktop app, you would probably display an embedded browser in the app (e.g. https://blogs.dropbox.com/developers/2014/04/dropbox-authorization-in-a-windows-store-app/).
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!