gpt4 book ai didi

node.js - Foursquare Api 在无用户身份验证的 `venue/photos` 端点上仅返回 1 个结果

转载 作者:太空宇宙 更新时间:2023-11-03 21:51:42 26 4
gpt4 key购买 nike

我从venue/photos得到的结果与用户身份验证不同。

在第一个结果中,我只收到一个结果(一张照片),但在第二个结果中,它返回我预期的正常结果。

--userless authentication--
https://api.foursquare.com/v2/venues/43695300f964a5208c291fe3/photos?client_id=****&client_secret=****&v=20181002
"photos": {
"count": 1,
"items": [
{}
],
"dupesRemoved": 0
}

--user authentication--
https://api.foursquare.com/v2/venues/43695300f964a5208c291fe3/photos?oauth_token=****&v=20181002
"photos": {
"count": 30,
"items": [
{}
],
"dupesRemoved": 0
}

我在Foursquare Photo Doc中没有找到任何合理的答案为什么结果有问题。

最佳答案

从 5 月 31 日开始,foursquare 进行了五项更改,以便随着开发者社区的发展简化其 API 并保持服务质量。

https://developer.foursquare.com/docs/announcements#start-up-tier-launch

The quantity of photos and tips per venue will be changed to 1 for Sandbox Tier and 2 Personal Tier

我认为此更改适用于无用户身份验证。

关于node.js - Foursquare Api 在无用户身份验证的 `venue/photos` 端点上仅返回 1 个结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52605260/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com