【问题标题】:How to get the events for a Facebook user如何获取 Facebook 用户的事件
【发布时间】:2021-06-24 15:08:30
【问题描述】:

我正在使用最新版本 (11.0) 的 Facebook API。我正在尝试使用 Graph API Explorer 获取用户的事件。我可以获取用户的页面和每个页面的事件,但无法获取用户的事件。

带有事件端点的请求的响应是一个空数组。在请求中添加debug=all 后,我收到以下错误The field 'events' is only accessible on the user object after the user grants the the permission for user events'.,但是Graph API Explorer 中没有用户事件的权限。

我应该怎么做才能获取用户的事件。

【问题讨论】:

    标签: facebook facebook-graph-api


    【解决方案1】:

    根据文档,用户不再有事件边缘:https://developers.facebook.com/docs/graph-api/reference/user/#edges

    错误信息可能具有误导性。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-26
      • 1970-01-01
      • 1970-01-01
      • 2018-09-25
      • 1970-01-01
      相关资源
      最近更新 更多