1.隨意選個熱點微博html
![](http://static.javashuo.com/static/loading.gif)
2. 參考git
R微博數據分析
http://blog.sina.com.cn/s/blog_9bed162b0102wu1w.htmlgithub
R語言實現代碼
devtools::install_github("sjhfx/rwda")
library(rwda)
access_token = "2.00xxxxxxxxx"
weiboid = "4181525459234737"
df_comments = get_comments(access_token, weiboid, maxpage = 20)
weibo_cloud(df_comments, stopwords = c("心心", "回覆"))
3. 看看你們的見解
過程當中遇到的困難主要在於 獲取新浪微博的access_token , access_token能夠經過 http://open.weibo.com/tools/console 獲取。
我的建立了一個網頁應用,最後獲取access_token時採用的方法是 用谷歌瀏覽器,添加應用 Postman,在Postman中運用Post 請求獲取access_token。
最後,順手