Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello,
I would like to know if is possible a person who is not developer get your token?
I ask this because I'm developing an app that can access to any account, for example, in my computer the app needs do access to my account (in the begin I select my account to access), if I pass this app to other person that isn't a developer, this person needs to be able to access your account (not my account) even isn't a developer(in the begin the person select your account to access).
Best Regards
Also, make sure to update the redirect URI to match the new port.
We've now updated the repo in Github to have the two projects point to different ports now to avoid this in the future. Pulling the latest code should fix everything. If not (maybe due to cached files), Properties -> Web -> Create Virtual Directory should fix it.
Yes, using the OAuth app authorization flow, your app can have each user connect their own Dropbox account. The OAuth guide here may be helpful:
https://www.dropbox.com/developers/reference/oauth-guide
If you're using an official SDK, the tutorial/documentation will have information on implementing the OAuth app authorization flow.
Hello,
First of all, thanks for the answer.
I have already read the file that you say, but I continue to not understood in practice how to apply.
What I understood untill now is that, to get the token the user need to be a developer. You said that is possible each user connect their own account, but how they can obtain the token if they aren't developers.
Best Regards
Hello,
Thanks for the answer.
You say that the users don't need to be developers to get an access token, how can they obtain this token? Or their token is the same that i'm using now in the tests?
I'm programming in C# (.NET) in the Visual Studio 2015. I'm new in the use of the OAuth/OAuth2, I just already read the documentation about this theme but I couldn't understood very well, hence my question.
Best Regards
Are you using our official .NET SDK? We recommend doing so. It comes with a SimpleBlogDemo example app that shows how to use DropboxOAuth2Helper to process the app authorization flow.
Each user will get their own access token once they go through the app authorization flow. An access token identifies a particular app-user pair, so it will be different from your own access token.
Hello,
Thanks for the answer.
In the Visual Studio I install in the "Package Manager Console" the .NET SDk like is in the website (PM> Install-Package Dropbox.Api). This is what you mean? Or there are other SDK diferent of visual studio that I need to install?
I tried to run the SimpleBlogDemo example but gives an error in the access to dropbox (Server Error in '/' Application). I already changed the APP KEY and SECRET in the Web.config and add the http://localhost:5000/Home/Auth in the app console and not work. There are some think that I can do to correct this problem?
Best Regards
Hello,
Thanks for the answer.
The error appeared on a web page and is the following:
Server error in application '/'.
Error Analyser
Description: Error parsing a resource required to make this request. See the specific analysis error details below and modify your source file appropriately.
Error message analyzer: Could not load type 'SimpleBusinessDashboard.MvcApplication'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="SimpleBusinessDashboard.MvcApplication" Language="C#" %>
Source file: /global.asax Linha: 1
Version Info: Microsoft .NET Framework version:4.0.30319; ASP.NET version:4.6.1586.0
How can resolve this?
Best Regards
We can't seem to reproduce that error. Did you follow the instructions for setting it up? (Also, I reccomended trying the SimpleBlogDemo, but it looks like you're trying to run the SimpleBusinessDashboard sample.) If you can share steps to reproduce it, that would be helpful.
In any case, looking online, there seem to be several things that can cause this. Can you take a look at those?
Hi there!
If you need more help you can view your support options (expected response time for a 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!