dropnet

Getting Dropbox Access Token With Dropnet

落爺英雄遲暮 提交于 2019-12-13 03:37:07
问题 I'm attempting to implement file uploading to Dropbox on my site. However, I'm having trouble getting the accessToken after the user clicks to authorize my app. Here is my code to grab the URL, which gets returned to the client to open a new window in Javascript. [WebMethod] public String setUpDropboxOA(String uri, Int32 form_id, String user_auth) { var client = new DropNetClient("xxxxxxxxx", "xxxxxxxxx"); return client.GetTokenAndBuildUrl(uri); } And here is my callback function: [WebMethod]