[问题] fb fan page的文章读取

楼主: thephone (phone)   2015-06-13 17:35:31
[问题类型]:
程式咨询
[软件熟悉度]:
新手
[问题叙述]:
使用Rfacebook packages 的getPage读取fb page显示错误
[程式范例]:
>library(Rfacebook)
>fb_oauth = fbOAuth(app_id="144232134607XXXX",
> app_secret="35c927a41b5e31aa3b6bXXXXXX")
>save(fb_oauth, file="d:/fb_oauth")
>load("d:/fb_oauth")
>User <- getUsers("118250504903757", token=fb_oauth, private_info = TRUE)
>page <- getPage(page="118250504903757", token=fb_oauth, feed=TRUE)
Error in callAPI(url = url, token = token) :
An access token is required to request this resource.
[环境叙述]:
R version 3.2.0 (2015-04-16)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
感谢

Links booklink

Contact Us: admin [ a t ] ucptt.com