Foursquare Api return just 1 result on `venue/photos` endpoint with userless authentication

时间:2018-10-02 09:06:02

标签: node.js api foursquare

The result I get from venue/photos has different with the User Authentication.

In the first one I just receive one result (one photo) in the result but in the the second one it return normal result that I expected.

--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
    }

I didn't found any reasonable answer in Foursquare Photo Doc why the result has problem.

1 个答案:

答案 0 :(得分:1)

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

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

  

每个场所的照片和提示数量将更改为“沙盒层”和“ 2个个人层”

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

相关问题