发布页没人维护啊。。。不知道怎么办了。。。
OS X 10.9.2, R 3.0.3, RStudio 0.98.501, Rweibo 0.2-7, Safari 7.0.2, Mac 上装了 Little Snitch, 不过没跳窗口,应该没有被拦截
> require(Rweibo)
Loading required package: Rweibo
Loading required package: tools
Loading required package: RCurl
Loading required package: bitops
Loading required package: rjson
Loading required package: XML
Attaching package: ‘XML’
The following object is masked from ‘package:tools’:
toHTML
Loading required package: digest
# Rweibo Version: 0.2-7
> roauth <- createOAuth(app_name = "xxxxxxx", access_name = "rweibo")
# The port of help server was set to 80
starting httpd help server ...
Please input the codes here
CODE:
Safari 上地址栏是
https://api.weibo.com/oauth2/authorize?client_id=xxxxxxxxx&response_type=code&redirect_uri=http://127.0.0.1/library/Rweibo/doc/callback.html 窗口标题:第三方授权错误 网页内容:
访问出错了!
你所访问的站点在新浪微博的认证失败,请你联系{测试微博号}或者稍后再试。
(error:redirect_uri_mismatch)
网页上没有出现code。然后在 RStudio 按了几个回车。
starting httpd help server ... done
Saved!
Warning message:
oauth test failed, please check the connection or your application.