訪問(wèn)新浪接口API:
https://api.weibo.com/2/statuses/user_timeline.json獲取某個(gè)用戶最新發(fā)表的微博列表。
提示:
{"error":"source paramter(appkey) ismissing","error_code":10006,"request":"/2/statuses/user_timeline.json"}
原因:
statuses/user_timeline 接口升級(jí)以后,只能調(diào)取當(dāng)前登錄用戶的微薄列表。
接口說(shuō)明:
(1)獲取自己的微博,參數(shù)uid與screen_name可以不填,則自動(dòng)獲取當(dāng)前登錄用戶的微博;
(2)指定獲取他人的微博,參數(shù)uid與screen_name二者必選其一,且只能選其一;
(3)接口升級(jí)后:uid與screen_name只能為當(dāng)前授權(quán)用戶,第三方微博類客戶端不受影響;
http://open.weibo.com/qa/index.php?qa=17720&qa_1=statuses-user_timeline-更新后不能獲取某個(gè)用戶最新發(fā)表的微博列表
愛華網(wǎng)



