简体   繁体   English

在哪里可以找到我的用户ID

[英]Where to find my User Id

I'm trying to list down all user owned events in my app. 我正在尝试列出应用中所有用户拥有的事件。 The method for User Owned Events says i need User Id of the user to get retrieve all the user owned events. 用户拥有的事件的方法说,我需要用户的用户ID才能检索所有用户拥有的事件。 I can not see the User Id in my account over EventBrite. 我无法通过EventBrite在帐户中看到用户ID Can you please tell me where i can find this in EventBrite website ? 您能告诉我在EventBrite网站上哪里可以找到它吗?

I do get the User Id from the parsed authentication as shown in below screenshot. 我确实从解析的身份验证中获得了用户ID,如以下屏幕截图所示。

在此处输入图片说明

Current i have manually created the request to get the response. 当前我已经手动创建了请求以获取响应。 I plan to make this automated, can you tell me the steps to get User Id from EventBrite. 我计划使其自动化,您能告诉我从EventBrite获取用户ID的步骤吗? Are there any methods of V3 API endpoint that would return me the same, if i cant get it from EventBrite website ? 如果我无法从EventBrite网站获得它,是否有任何V3 API端点方法可以使我返回相同的结果?

Awaiting replies. 等待回复。

Checked with EventBrite Team, they say "instead of passing the UserId we can pass 'me' in the query string". 与EventBrite Team核对后,他们说:“我们可以在查询字符串中传递'me'而不是传递UserId”。

Example - https://www.eventbriteapi.com/v3/users/me/owned_events 示例-https://www.eventbriteapi.com/v3/users/me/owned_events

Hope this helps ! 希望这可以帮助 !

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM