We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Mark L.45
10 years agoCollaborator | Level 9
URI HTTPS request
Hi,
I am trying to follow this dropbox tutorial; but with success
https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/
I tried this call using the parameters shown an...
Greg-DB
Dropbox Community Moderator
10 years agoIt looks like you're trying to access the /authorize page programmatically, but this is actually just a web page that you should be presenting to the user in a browser.
For reference, while you can certainly implement this manually, I recommend checking out the example for the SwiftyDropbox library just as a sample of how this should work:
https://github.com/dropbox/PhotoWatch
Here's the library itself:
https://github.com/dropbox/SwiftyDropbox
Also, note that the "authorization code" only applies to the "code" flow, which you're not using.
Finally, your app only provides the client ID a.k.a. app key, which identifies the app. It should never have the user's credentials (username and password) which should only be provided by the user on the Dropbox site during the app authorization flow.
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!