Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
JaideepSingh
8 years agoNew member | Level 2
API v2: Dropbox integration to website
I want to to sync user dropbox account with our website so that user can directly upload their documents from our site.I am using Dotnet and had done following code string appkey = ConfigurationM...
Greg-DB
Dropbox Community Moderator
8 years agoIf you're using the OAuth 2 "code" flow, the code returned on the redirect URI is an "authorization code", not an "access token". You'll need to exchange the authorization code for an access token. You can find more information on that in the documentation:
https://www.dropbox.com/developers/documentation/http/documentation#authorization
The OAuth guide may also be helpful:
https://www.dropbox.com/developers/reference/oauth-guide
By the way, based on your code it looks like you may not be using the official Dropbox API v2 .NET SDK. We highly recommend using it if possible:
https://github.com/dropbox/dropbox-sdk-dotnet
https://www.dropbox.com/developers/documentation/http/documentation#authorization
The OAuth guide may also be helpful:
https://www.dropbox.com/developers/reference/oauth-guide
By the way, based on your code it looks like you may not be using the official Dropbox API v2 .NET SDK. We highly recommend using it if possible:
https://github.com/dropbox/dropbox-sdk-dotnet
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!