We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
XamarinDeveloper
5 years agoExplorer | Level 3
Action required: tokens and permissions
Action required: tokens and permissions
I've got a message from DropBox.
---
As a reminder, on September 30th, 2021, the Dropbox OAuth flow will no longer return new long-lived access tokens. It will instead return short-lived access tokens, and optionally return refresh tokens. Existing tokens are not impacted.
Apps that require background access will need to update their code to use refresh tokens, which is made easier by using our updated SDKs.
---
I use NuGet package Xamarin.Dropbox.Api 4.5.3.1 (updated 24.10.2017)
How can I update my code?
3 Replies
- Greg-DB5 years ago
Dropbox Community Moderator
I see you're using the Xamarin.Dropbox.Api which is not an official Dropbox SDK. It's owned by Microsoft and Xamarin. That would need to be updated for the new authorization functionality. It looks like it hasn't been updated since 2017 though, so you may want to contact them to see if they will update it.
- XamarinDeveloper5 years agoExplorer | Level 3
Thank you for clear answer.
Dropbox has official API for .NET.
How can I see (updated) sample code for .NET API?
- Greg-DB5 years ago
Dropbox Community Moderator
Dropbox does offer an official .NET SDK for Dropbox API v2, which you can find here.
That comes with several example apps, including sample code updated for the new authorization functionality, such as in OauthBasic and OAuthPKCE.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 6 hours ago
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 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!