Giter Club home page Giter Club logo

onedriverestapi's Introduction

onedriverestapi's People

Contributors

saguiitay avatar timerickson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

onedriverestapi's Issues

Sample code wrong.

In the line
var client2 = new Client(clientId, clientSecret, callbackUrl, token.Access_Token, token.Refresh_Token);

The correct should be:
var client2 = new Client(options);

File Upload Progress

Is it possble to report a progress using current implementation (HttpClient)? I guess it is possible using WebClient and it's built-in progress events, but it will take a lot of time to rewrite current code to use WebClient...Thanks in advance.

GetAuthCode issue

// TODO: Navigate to authRequestUrl using the browser, and retrieve the Authorization Code from the response
var authCode = await GetAuthCode(client, new[] { Scope.Signin, Scope.Basic, Scope.SkyDrive });

GetAuthCode does not work in asp.net mvc 5

i have successfully installed nuget package

Auth code

Anymethod available for automaticly taking the authentication code from the redirect url and substitute it in the
// TODO: Navigate to authRequestUrl using the browser, and retrieve the Authorization Code from the response
var authCode = "...";

I tried the to do as follow:

HttpClient theClient = new HttpClient();
HttpResponseMessage response = await theClient.GetAsync(authRequestUrl);
response.EnsureSuccessStatusCode();
string responseUri = response.RequestMessage.RequestUri.ToString();
Console.Out.WriteLine(responseUri);
var authCode = ; // here i made a substring from the response uri to take the code

DIDNT WORK

Thanks

Uploading issue

As the project is based on Single thread while uploading its throwing error saying the thread is taking long time? how can i fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.