1.隨意選個熱點微博
2. 參考
R微博數據分析
http://blog.sina.com.cn/s/blog_9bed162b0102wu1w.html
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。
最后,順手

又順手