kfstorm / kfstorm.doubanfm.core Goto Github PK
View Code? Open in Web Editor NEWA .NET client library for douban.fm
A .NET client library for douban.fm
Web version of douban.fm supports sign in by Sina Weibo, QQ and MSN. We need to support it too. By make OAuth authentication generic, or add customized implementations into project?
douban.fm server ignores parameter 'max' in the URL.
To test with real server, we need functional test.
For example, anonymous user has empty 红心 channel. When user change channel to 红心, exception occurs.
Kfstorm.DoubanFM.Core.ServerException: code: 1 msg: valid sid is required
在 Kfstorm.DoubanFM.Core.ServerException.TryThrow(String jsonContent) 位置 D:\Projects\Git\kfstorm\Kfstorm.DoubanFM.Core\Kfstorm.DoubanFM.Core\ServerException.cs:行号 63
在 Kfstorm.DoubanFM.Core.ServerConnection.<>c__DisplayClass26_0.<b__1>d.MoveNext() 位置 D:\Projects\Git\kfstorm\Kfstorm.DoubanFM.Core\Kfstorm.DoubanFM.Core\ServerConnection.cs:行号 99
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter1.GetResult() 在 Kfstorm.DoubanFM.Core.ServerException.<TryThrow>d__8
1.MoveNext() 位置 D:\Projects\Git\kfstorm\Kfstorm.DoubanFM.Core\Kfstorm.DoubanFM.Core\ServerException.cs:行号 30
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter1.GetResult() 在 Kfstorm.DoubanFM.Core.ExceptionHelper.<LogExceptionIfAny>d__4
1.MoveNext() 位置 D:\Projects\Git\kfstorm\Kfstorm.DoubanFM.Core\Kfstorm.DoubanFM.Core\ExceptionHelper.cs:行号 63
For example, 私人 channel.
Should be due to no ID passed to server for anonymous user.
According to Douban OAuth 2.0 Doc, when access token is expired, server will return 106 error. Just catch this error and refresh access token in ServerConnection.
Seems the server doesn't always return all the channels. Maybe the server has some filter logic.
Seems the account used for functional test is not ready. Can't login by username/password. However, email/password is OK.
For example: URL 1 needs parameter 1 and parameter 2. URL 2 needs parameter 2 and parameter 3. All the parameters are already stored in IServerConnection.Context. We need below mapping so that we can append query parameters by config.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.