RFacebook身份验证错误

提利昂·兰尼斯特(Tyrion Lannister)

我有fb_OAuth可以工作。我的浏览器显示身份验证成功,并告诉我将我重定向到R。但是,出现的内容是:

Copy and paste into Site URL on Facebook App Settings:    http://localhost:1410 
When done, press any key to continue...
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Authentication complete.
Error: Deprecated: supply token object to config directly"
info_seekeR

这是在这里讨论显然,有一个与问题httr,其上rfacebook的FB认证功能的基础。

您可以尝试以下操作:

安装较旧版本的 httr

您可以尝试从Cran的档案文件中下载tar.gz文件

#Credit to Thomas Leeper from whose answer the following was copied
#http://stackoverflow.com/questions/17082341/installing-older-version-of-r-package
#for example of ggplot2
packageurl <- "http://cran.r-project.org/src/contrib/Archive/ggplot2/ggplot2_0.9.1.tar.gz"
install.packages(packageurl, repos=NULL, type="source")

或者你可以尝试install_version()devtools包中的功能


通过访问以下链接来生成临时身份验证https : //developers.facebook.com/tools/explorer/
,然后将获取的令牌粘贴到rfacebook需要访问令牌的任何功能中


更新

截至8月6日,软件包作者已解决了该问题-现在可以完成身份验证过程而不会导致错误。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章