We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
santosh111
7 years agoExplorer | Level 3
can i pass the email and password in the url of dropbox to automatically login to the dropbox
can I pass the email and password to the url of dropbox to login automatically. Please help me regarding this. Thanks.
chirstius
Dropbox Staff
Hello santosh111,
Can you clarify what you mean by logging in automatically?
If you are referring to access to the Dropbox website, then there is no direct way to automatically login if you have not been previously authenticated on a given browser instance.
If you are looking for a way to take action on a Dropbox account programmatically, then yes, the API can be used and does not require a user to directly login - however it still requires authorization against the Dropbox account in question, and if the user is not logged in, it will require a login first and then an authorization.
What exactly is it you are looking to do?
Thanks,
-Chuck
santosh111
7 years agoExplorer | Level 3
I mean to say that through REST service can i directly login & upload a file and get uploaded file into the visualforce page using apex code (REST API).
Thnks.
- Greg-DB7 years agoDropbox Staff
santosh111 Dropbox does offer an API you can use for programmatically uploading and downloading files. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here:
https://www.dropbox.com/developers
For example, to download files:
https://www.dropbox.com/developers/documentation/http/documentation#files-download
And to upload files:
https://www.dropbox.com/developers/documentation/http/documentation#files-upload
These API calls require an access token for the account(s) that you want to connect to. You can't use the username and password directly.
Users use their account username and password to log in to the Dropbox web site to authorize access to your app. This way, your app never has to handle the user credentials directly. This is done via the OAuth flow:
https://www.dropbox.com/developers/reference/oauth-guide
The result is an access token that your app can store and re-use without further manual user intervention.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 6 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!