dayushan
dayushan
 老师,成功加载tm包,为什么hai 报错不存在prescindMeta()呢?怎么解决呢
@coderLMN 老师,P211从API检索数据,Yahoo 现在开启OAuth认证,我参照这个网址 (https://developer.yahoo.com/oauth/guide/oauth-requesttoken.html )的说明,写html文件如下:
吴老师 我今天又仔细看了下书,查了点资料 运行如下代码: ```r facebook
运行完代码就有提示 R Console 会提示输入你的选择(1:Yes, 2:No) ,键盘输入“1” 提示: ``` Adding .httr-oauth to .gitignore httpuv not installed, defaulting to out-of-band authentication(默认为带外认证) Please point your browser to the following url: https://www.facebook.com/dialog/oauth?client_id=此处为消费者密钥&scope=user_birthday%2Cuser_education_history%2Cuser_hometown%2Cuser_location%2Cuser_website%2Cuser_work_history%2Cpublish_actions%2Cuser_friends%2Cemail&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code 然后我通过浏览器输入上述网址后提示“The redirect_uri...
1、那个许可清单我是根据权限里边的参考文档复制过来的,并不是照搬书上的,即使只留下user_birthday,还是同样的问题。 2、我使用httr包中关于facebook的demo(代码附在此段后)也是要通过浏览器输入https://www.facebook.com/dialog/oauth?client_id=353609681364760&scope=&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code 输入后仍然提示“The redirect_uri URL is not supported”。 Facebook的demo代码: ```r library(httr) # 1. Find OAuth settings for facebook: # http://developers.facebook.com/docs/authentication/server-side/ oauth_endpoints("facebook") # 2. Register an application at https://developers.facebook.com/apps/ # Insert...
@coderLMN 老师你的没有报错吗? ```r library(httpuv) #install.packages("http://cran.r-project.org/src/contrib/Archive/httr/httr_0.6.1.tar.gz",repo=NULL, type="source") #install.packages("Rfacebook") library(rjson) library(Rfacebook) library(httr) Sys.setenv("HTTR_SERVER_PORT" = "1410/") # 1. Find OAuth settings for facebook: # http://developers.facebook.com/docs/authentication/server-side/ oauth_endpoints("facebook") # 2. Register an application at https://developers.facebook.com/apps/...
 嗯 我看了老师关于设置那部分的评论
我用的是蓝灯  
```r Sys.setenv("HTTR_SERVER_PORT"= "1410/") set_config(use_proxy(url = "127.0.0.1", port = 55720)) # 3. Get OAuth credentials facebook_token
还是同样的问题 获取access token 失败 试了几个版本的httr都不行 唉,怎么办?