Closed xmblpb closed 12 years ago
hmmm, I'll have a look at this one. Haven't had any issues myself and this is the first time its been mentioned...
Can you show me the code you are using to create the instance of the DropNetClient and the async login function?
Sorry, i has already deleted code, but i tried to follow documentation and samples
Hello dkarzon , I have trouble about login dropbox in C# .I run first code sucess but run second fail . This is code :
var _client = new DropNetClient("KEY", "SECRET"); _client.Login("abc", "abc");
I give error : DropNetException (Token=null,Secret =null) . Would you help me with error ? Thank you !
[DK] - Removed your key from view...
Can you have a look at the Response property of the DropNetException? That might give you more of an idea what is not working.
Yes , But I encounter trouble : First I upload image to dropbox by dropnet which success , but After two day , code Dropnet not work and bug DropnetException(Token=null , Secret=null).
I look at DropnetException :
{"error": "SERVICE UNAVAILABLE"}
Can dkazon help me fix that error ?
Cheer,
When you load the DropNetClient do you set the UserLogin property with the Token and Secret you saved from login?
When I upload file image , I call command DropNetClient set UserLogin property. You can talk detail , I not understand your question ? Thank you!
OK, so the process for using the DropNetClient should go something like this:
Next run of the app
See how the next run you have to give the client the Users token and secret that we got from login? This is to keep the same login session, otherwise we'll have to get the user to login each time they run the app.
Be sure to checkout the "How to use it" http://dkdevelopment.net/what-im-doing/dropnet/
Thank dkarzon , I missed Token and Secrect , I not read detail http://dkdevelopment.net/what-im-doing/dropnet/ . Now it work . Have a fun day!
When i try to use LoginAsync i cannot login successfully, instead get error:
error.ErrorMessage = "Value cannot be null.\r\nParameter name: s"
Same parameters with sync function Login works well.
Tested v1.5.5 on Windows