通过以下代码,我想获得R中的展示和其他页面见解:
library(Rfacebook)
library(RCurl)
fb_oauth <- fbOAuth(app_id="1967490963528780", app_secret="APP SECRET from
https://developers.facebook.com/apps/myapp ",extended_permissions = TRUE)
insights <- getInsights(object_id="164028473612550", token=fb_oauth,
metric='page_impressions')
我是该页面的所有者,但是我收到以下错误:
Error in FUN(X[[i]], ...) :
No data available. Are you the owner of this page? See ?getInsights.
有谁知道如何通过R访问页面见解?