I am using the DropNet API to retrieve the share link of a local file but cannot get past the GetAccessToken() because it is null.
Here is my code so far:
var _client = new DropNetClient(APIKEY, APISEC);
_client.GetToken();
var url = _client.BuildAuthorizeUrl();
Process.Start(url);
var accessToken = _client.GetAccessToken();
var shareResponse = _client.GetShare("/Getting Started.rtf");
MessageBox.Show(shareResponse.Url);
exception thrown at GetShare():
System.Reflection.TargetInvocationException
It has to be something with how I am launching the browser but I've been at this for hours, thanks for any help!