We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
abdelouahab a.
11 years agoNew member | Level 1
Make the application for everyone after review?
I just got my application approuved for production, in the email, they told me to use a 'key' ? what is this key?
The application works with : dropbox_consumer_key and dropbox_consumer_secret, but now that I got approuved, if I try to access to the application with another browser (or logged out from my dropbox) I get a login page for dropbox?!
What do I need to make the application dont ask for credential for anyone accessing to it?
14 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
You need to make sure you make the API calls from your server only, not from the user's web browser. If you make the call from the user's browser, the call will need to include the access token, which you don't want to expose to them.
- abdelouahab a.11 years agoNew member | Level 1
Yes, I will go with this solution,
Thank you again.
BTW, I am using this excellent wrapper https://github.com/bdarnell/async_dropbox - abdelouahab a.11 years agoNew member | Level 1
Ok, here is the code for people that lands on this question:
curl -X PUT https://api-content.dropbox.com/1/files_put/auto/hello.txt?overwrite=false -H 'Authorization: Bearer PUT HERE YOUR LONG TOKEN' -H 'Content-Type: text/plain' -d 'Hello, World!'now what you need, is just transform the code into an http request from your programming language :)
- abdelouahab a.11 years agoNew member | Level 1
Hi, here is the application
https://github.com/abdelouahabb/dropbox-uploader
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!