You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Garnik G.
10 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.
10 years agoDropbox Staff
It 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.5,918 PostsLatest Activity: 2 days ago
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 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!