[問題] fb fan page的文章讀取
[問題類型]:
程式諮詢
[軟體熟悉度]:
新手
[問題敘述]:
使用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
感謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 112.104.74.87
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1434188134.A.B64.html
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章