Hey All,
Just after some clarification, Im familiar with programming desktop software but new to the web world.
In regards to OAuth 2, I have two options for the redirect set.
-https://www.dropbox.com/oauth2/redirect_receiver
-https://www.dropbox.com/1/oauth2/redirect_receiver
I got these out of the guide here,
https://blogs.dropbox.com/developers/2014/04/dropbox-authorization-in-a-windows-forms-app/
They work in getting an access token, though two things happen that dont seem to be right.
One) The page tab stayed open; either blank or with a 404 error depending on the redirect uir used.
Two) The following code fails, which is straight from the guide I linked above. I have tried converting to the Api v2 and still failed, I get a 400 error.
var client = new WebClient();
client.Headers["Authorization"] = "Bearer " + accessToken;
var accountInfo = client.DownloadString("https://www.dropbox.com/1/account/info");
MessageBox.Show("Account info: " + accountInfo);
If calirication on the above could be explained that would be greatly appreciated.
Also, if you have any information on how I would make the url redirect back to my app after clicking Authroize, that would also be greatly appreciated
