【发布时间】:2019-03-13 18:35:55
【问题描述】:
我正在尝试使用 R 安装 facebook API。我看到一些人也遇到了问题,但我没有发现与我相同的问题。 我已经获得了图书馆,但是当我使用该功能时 fb_oauth http://localhost:1410/,我按 Enter 并在 facebook 页面上收到以下消息:
"Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings."
在 R 上:
Authentication complete.
Error in oauth2.0_access_token(endpoint, app, code = code, user_params =
user_params, :
Bad Request (HTTP 400). Failed to get an access token.
我尝试了几件事,但似乎没有任何效果。也许我在放网址时犯了一个错误,但是我不知道我应该把它放在哪里......
对于 fb_oauth,我已尝试使用 extended_permissions False 和 True 对于 app_id 和 app_secret,我使用了页面信息:screen shot
对于我点击设置>添加平台>网站>的网址,然后复制网址second screenshot
我真的需要它来工作,所以如果你能帮助我,我将不胜感激
【问题讨论】:
-
然后向我们展示您的设置(截图)。