I am new to integrating drop box, but I am not quite sure how to generate a call to get the request token secret.
https://www.dropbox.com/developers/reference/api#request-token
I have to make a call to this url https://api.dropbox.com/1/oauth/request_token
what is the best way to do this? with c#?.
Thank you for any help you may provide
PS: I am just not sure which c# libraries to use for this.
The most effective teams connect, share, and get to market (and close deals) faster with Dropbox integrations like Slack, Zoom, Salesforce, and HelloSign.
The Dropbox API v2 is a set of HTTP endpoints that help your app integrate with Dropbox. Check out our full HTTP documentation to learn about everything you can do with the API. We recommend that you use one of our officially supported SDKs.
You'll need to have a Dropbox account to access the APIs. If you don't already have one, you can sign up for a free account here.
There's a .Net Dropbox library on Codeplex which looks quite good: http://sharpbox.codeplex.com/
Something like the following should work:
System.Net.WebClient client = new System.Net.WebClient();
string response = client.DownloadString("https://api.dropbox.com/1/oauth/request_token"); // Add necessary query parameters
// Parse the response
System.Collections.Specialized.NameValueCollection collection = System.Web.HttpUtility.ParseQueryString(response);
I included the namespaces to clarify the location of each class, but you should probably just put using directives at the top of your file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With