Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

xwbash's avatar
xwbash
New member | Level 2
4 years ago

I Didnt Understood The Get Access Token Via Code

Hello,

In the documents its says;

Example: Auth URL for code flow

https://www.dropbox.com/oauth2/authorize?client_id=<APP_KEY>&response_type=code

 

When i enter the page with my app key its says;

Enter this code into app name to finish the process 
 
1. I didn't understood where should i put the access code in (on my app)?
2. I tried post man token requester to take access token but its goes auth url, takes the access code and its gaves me the access token but i didn't figure out the whole process how did postman goes takes access code and convert into access token
3.
curl https://api.dropbox.com/oauth2/token \     -d code=<AUTHORIZATION_CODE> \     -d grant_type=authorization_code \     -d redirect_uri=<REDIRECT_URI> \     -u <APP_KEY>:<APP_SECRET>
in the code above i don't have redirect_url how i can still get the code?
 
I just want to do the same thing in c# im trying to create an php code in c# + re sharper library. But i didn't understood the process if you answer my questions i really appreciated
 

2 Replies

About Dropbox API Support & Feedback

Node avatar for 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!