2015年2月26日星期四

2015年2月20日星期五

Update wrapper API to www.oschina.net, friends-list added.

New API for getting all friends including my-fans, and users who have focused on me.

Also update Android sample osc-tweet to show the friends-list.

Now rename the java-library of osc-server to osc4j. However the java-lib is still under sample project for future more features.

Checkout friends-list API here.

More info.

2015年2月13日星期五

Publish APIs for www.oschina.net

I really don't like the model of OAuth2 of oschina,  not only that they don't provide client libraries, but also if you wanna be granted an access-token, you must be redirected to a web-app which you're forced to give as you register on oschina for using its own openAPI.   That means, no web-app no Access-Token.

Then what happens if you wanna dev a client application like Android , Windows, Linux etc?

So start to wrapping openAPI and bypass the webview or browser.

There's a very long list of all available interfaces,  It's really a hard job.

Current release is showing all tweets, my-tweets, and all hotspot tweets.

A parallel java library is also in progress.

Checkout.