foursquare:从徽章中获取位置/签到
我有用户通过 Twitter 导出的徽章消息列表:
即 https://foursquare.com /ruben_es/badge/4f07d1fee4b026656d9dad16?ref=tw
我无法理解是否可以访问与此徽章相关的签到/场地。据我所知,徽章的网页没有报告任何内容,API 也没有提及任何内容。
https://developer.foursquare.com/docs/responses/badge 有一个字段“解锁说: “可选(如果存在),一个解锁数据数组。数组包含签入,这是一个签入数组。目前两个数组仅包含 1 个元素。”。这些解锁签到是什么?
有什么想法吗?
I have a list of badge messages exported by users through twitter:
i.e. https://foursquare.com/ruben_es/badge/4f07d1fee4b026656d9dad16?ref=tw
I can't seam to understand if it's possible to access the checkin/venue connected with this badge. The web page for the badge doesn't report anything and also the API doesn't mention anything as far as I can tell.
https://developer.foursquare.com/docs/responses/badge has a field "unlocks that says:
"Optional If present, an array of unlock data. Array contains checkins, which is an array of checkins. Currently both arrays will only contain 1 element.". What are these unlock checkins?
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当访问代理用户或代理用户的朋友的徽章时,解锁数组将包含单个签入对象。该签到导致用户解锁徽章。
因此,如果您要查找解锁徽章的位置,请查看解锁签到中包含的场地对象。
When accessing the badges for the acting user or the acting user's friends, the unlocks array will contain a single checkin object. That check-in is the one that caused the user to unlock the badge.
So if you're looking for the location where that badge was unlocked, look at the venue object contained in the unlock check-in.