标签:
首先要获取 Consumer Key (API Key), Consumer Secret (API Secret);最好申请Access Token 和Access Token Secret,不然验证很麻烦的。
获取指定用户的微博,可用Api: GET statuses/user_timeline ,参考 https://dev.twitter.com/rest/reference/get/statuses/user_timeline
也可用现成的库,如TweetSharp ,参考How To Get An User’s Timeline Using Twitter API v1.1 With TweetSharp (Updated):https://mcansozeri.wordpress.com/2013/07/02/blog-posthow-to-get-an-users-timeline-using-twitter-api-v1-1-with-tweetsharp-updated/
当然,所以这些的前提是:你能上https://twitter.com/
标签:
原文地址:http://www.cnblogs.com/qianblue/p/4565232.html