简体   繁体   中英

Use DropNet with generated access token

I'm trying to find a way to use DropNet with generated access token but can't find solution. Following code throws exception and says "Access token not found".

var client = new DropNetClient("App Key", "Secret");
client.UserLogin = new UserLogin { Token = "Generated Access Token" };
client.GetFile(...);

Any thoughts ?

Solved this issue. I'm using the old version of library which supports OAuth1 authorization only and it doesn't support authorization with generated access token. Moreover old version of library has no API to switch from OAuth1 to OAuth2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM