最新版的新浪微博使用oauth2认证。
http://code.google.com/p/weibo4j/里面提到要在Config.properties里面修改回调地址
下面是我Config.properties的内容
client_ID =
client_SERCRET =
redirect_URI =
baseURL =https://api.weibo.com/2/
accessTokenURL =https://api.weibo.com/2/oauth2/access_token
authorizeURL =https://api.weibo.com/2/oauth2/authorize请回回调地址 redirect_URI =
需要填什么
http://code.google.com/p/weibo4j/里面提到要在Config.properties里面修改回调地址
下面是我Config.properties的内容
client_ID =
client_SERCRET =
redirect_URI =
baseURL =https://api.weibo.com/2/
accessTokenURL =https://api.weibo.com/2/oauth2/access_token
authorizeURL =https://api.weibo.com/2/oauth2/authorize请回回调地址 redirect_URI =
需要填什么
在你想跳转到的activity里加入
<data android:scheme="myapp" android:host="Logoin" />
认证通过后就可以回到这个activity