Facebook Graph API - 获取活动参加名单

Facebook Graph API - get event attending list

我有一个页面充当各种活动的管理员。我正在尝试检索已回复为出席者的名单。

我以前可以通过以下方式访问此列表,其中访问令牌是由我创建的应用程序生成的:

FB.api(
  '/{event-id}/attending',
  'GET',
  {'access_token':{access-token}},
  function(response) {
    // Insert your code here
  }
);

现在这会导致权限错误。

我已经使用 explorer 尝试生成不同类型的访问令牌,但我现在只能从该边缘获得一个空数据对象。

我读到权限错误会以这种方式无声地失败,但我无法弄清楚检索此数据需要什么权限。即使当我使用页面中的访问令牌(被列为事件管理员)时,我也什么也没想到。

无法再获得与会者:

https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#events-4-4

GET /events — You can no longer get the following edges:

  • attending
  • comments
  • declined
  • feed
  • interested
  • live_videos
  • maybe
  • noreply
  • photos
  • pictures
  • posts
  • videos