cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Make the application for everyone after review?

Make the application for everyone after review?

abdelouahab a.
New member | Level 1

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 14

abdelouahab a.
New member | Level 1

Yes, I use environement variables (hosted at Openshift), so they will not be clear in the code in case someone got the script (python).
And I guess they will not get the HTTP request when the client sends it?

Greg-DB
Dropbox Staff

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.
New 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.
New 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 :slightly_smiling_face:

abdelouahab a.
New member | Level 1
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    abdelouahab a. New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?