Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sanjayssk
9 years agoHelpful | Level 6
Asp.net Web Forms obtain access token in ReturnURI page
I'm trying to use Dropbox .Net from an asp.net Web Forms application. I'm successfully able to get control in my ReturnURI web page. But I can't find any sample code on how to proceed further to obta...
- 9 years agoYou can see how the authorization code is exchanged for an access token in the .NET SDK SimpleBlogDemo example here:
https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/SimpleBlogDemo/Controllers/HomeController.cs#L187
The 'code' and 'state' are returned by URL parameters, and after the 'state' is validated, you can use 'ProcessCodeFlowAsync' to exchange the 'code' for an access token.
sanjayssk
4 years agoHelpful | Level 6
It was so long back that I have lost all those sources. However, I remember doing something with DotNetOpenAuth, DropNet and NewtonSoft.json.
I just now searched and found some things that might help:
https://github.com/DropNet/DropNet
https://stackoverflow.com/questions/38432377/asp-net-file-upload-to-dropbox-via-api
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!