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
sianis
8 years agoExplorer | Level 3
Andorid SDK uses deprecated API
https://github.com/dropbox/dropbox-sdk-java Andorid SDK uses still v1 API. It shows warning when I try to login from application. It opens https://www.dropbox.com/1/connect?k=XXX when I call Auth.startOAuth2Authentication. What is the solution for this? Do I need to implement other way, or will the developers implement it into the Dropbox SDK?
Sekali I'm not sure I understand your message. If you're using an official SDK, such as the Java SDK, you should use the latest version, as released and documented. You do not need to make any modifications to it. It may use some different internal mechanisms, but the latest versions already use API v2.
If you are not using an SDK, you should implement the OAuth flow as documented.
- Greg-DBDropbox Staff
The Java SDK does already use API v2. That authorization page URL has /1/ in it for historical reasons, but it's not actually used for API v1 only. As long as you're using the latest version of that SDK and following the instructions in the readme you're using API v2 and don't need to do anything differently. (Make sure you're using a version of the SDK >1.8.2.)
If you're seeing a warning on the authorization page about the API v1 deprecation, it's because you previously used API v1 but didn't acknowledge the deprecation. You can do so from the App Console while signed in to the account that owns the app(s).
- SekaliExplorer | Level 4
thanks . Your means use the demo ,web pages shows like https://www.dropbox.com/1/connect, but it already support v2 endport ? Just like request url like https://www.dropbox.com/oauth2/authorize? so it looks like a shell?
- Greg-DBDropbox Staff
Sekali I'm not sure I understand your message. If you're using an official SDK, such as the Java SDK, you should use the latest version, as released and documented. You do not need to make any modifications to it. It may use some different internal mechanisms, but the latest versions already use API v2.
If you are not using an SDK, you should implement the OAuth flow as documented.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 11 hours agoIf 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!