未能在Rfacebook中获得fbOAuth

时间:2014-07-13 04:13:26

标签: r facebook

我想让fbOAuth使用包Rfacebook

访问实时访问令牌

注册应用后,我从this link获得了app_idapp_secret
它要求我"Copy and paste into Site URL on Facebook App Settings: http://localhost:1410/"

我不确定应该将链接粘贴到哪里。

时出错
> fb_oauth <- fbOAuth(app_id, app_secret, extended_permissions = TRUE) 
Copy and paste into Site URL on Facebook App Settings: http://localhost:1410/ 
When done, press any key to continue...
Error in authorizer(authorize_url) : 
  httpuv package required to capture OAuth credentials.

感谢。

2 个答案:

答案 0 :(得分:5)

您必须在开发者应用设置中粘贴网址( http://localhost:1410 /

  1. 点击添加平台。
  2. 选择网站并粘贴 网址链接中的 http://localhost:1410 /
  3. 包含“httpuv”软件包,此link可能会帮助您解决问题。

答案 1 :(得分:0)

您缺少软件包httpuv,请通过以下方式下载: install.packages(&#34; httpuv&#34) 然后重新加载它。