RFvertise认证错误

问题描述:

我让fb_OAuth工作。我的浏览器说,认证成功,并告诉重定向我R.然而,这似乎什么:RFvertise认证错误

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" 
+0

请提供[可重现的示例](https://*.com/questions/5963269/how-to-make-a-great-r-reproducible-example)。 – akhmed

这是正在讨论here。 显然,httr存在一个问题,其中rfacebook的FB认证功能是基于此问题的。

你可以尝试以下方法:

安装的httr

旧版本你可以试试从克伦的存档下载的tar.gz文件

#Credit to Thomas Leeper from whose answer the following was copied 
#http://*.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

访问此链接生成temporay认证
https://developers.facebook.com/tools/explorer/
,然后粘贴你获得到了需要访问令牌rfacebook任何功能的令牌。


更新

截至8月6日,包的作者有sorted the problem out - 现在可以完成认证过程没有错误结束了。