Comments
-
I have tried it but I don't know where is file be saved? public async void Download(string token, string path) { using (var dbx = new DropboxClient(token)) { var download = await dbx.Files.DownloadAsync(path); } }
-
your mean that I have to convert byte to getting thumbnail. GetContentAsStringAsync(): Result =…
-
.I can't. Can you write code clearly? I don't know whatever you said.
-
I want to get thumbail of image. how to do that?
-
Dropbox api require use "POST" method. so I use postAsync(). But httpConntent of dropbox for what? Ex: I want to get all information of account( i have a accesstoken) link:https://api.dropboxapi.com/2/users/get_account?access_token=my token The HTTP request content sent to the server.
-
public async Task<Model.Get_Current_Account.RootObject> get_current_account(string _accessToken) { var query = await mainViewModel.Httpclient("https://api.dropboxapi.com/2/users/get_current_account?access_token="+_accessToken); if (query != null) { var get_data =…
-
public async Task<string> Httpclient(string link) { HttpClient client = new HttpClient(); HttpResponseMessage response= await client.GetAsync(link); return await response.Content.ReadAsStringAsync(); }
-
Error in call to API function "users/get_current_account": Must provide HTTP header "Authorization" or URL parameter "authorization".
-
But I use json to get data . I was trying to https://api.dropboxapi.com/2/files/list_folder?access_token=.... but don't run. Where is wrong?
-
Add a problem. https://api.dropboxapi.com/2/files/list_folder?access_token=.... This address did not running.