Eventbrite组织ID检索事件列表



我试图使用API私有令牌和在中找到的组织ID检索我的eventbrite事件:https://www.eventbrite.fr/organizations/info/profile/456xxxxxxx所以我取了这个组织ID并插入:
$eventbrite->get('organizations/'.$id_organisation.'/events/', ['status' => 'live']);。这没有产生任何结果。最后,我使用相同的私人令牌,但使用了从URL获得的组织ID,成功检索到了我的eventbrite事件列表https://www.eventbrite.fr/u/123xxxxxxx/favorites/events.让我感到疑惑的是,为什么API调用使用一个不是组织ID的ID来获取事件?这是某种用户id否?

这可能会回答您的问题。来自Eventbrite文档:

如果你不属于任何组织,你的user_id是你的默认组织id。

https://www.eventbrite.com/platform/docs/organizations

最新更新