有没有办法使用 Foursquare 用户搜索 API 返回搜索词?
我正在通过电子邮件地址进行批量用户查找(例如 users/search? [email protected] ,<一href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="94f2e6f1f0d4f6f5e6baf7fbf9">[email protected] 等),但我注意到它没有返回电子邮件地址与搜索结果。有办法做到这一点吗?
或者,我可以对每个请求执行一个电子邮件地址搜索,或者对我返回的所有结果按 ID 进行用户查找,但这些选项似乎既浪费又低效。
I'm doing bulk user lookups via email address (e.g. users/search? [email protected], [email protected], etc), but I noticed that it's not returning the email addresses with the search results. Is there anyway to do this?
Alternatively, I could do a single email address search per request, or do a user lookup by id on all the results I get back, but these options seem wasteful and inefficient.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
用户电子邮件不是 API 返回的
/users
字段之一,请参阅:https://developer.foursquare.com/docs/responses/user.html
通常 API 不会以明文形式返回电子邮件。
User email is not one of the fields that the API returns for
/users
, see:https://developer.foursquare.com/docs/responses/user.html
Usually API's don't return emails in the clear.