gpt4 book ai didi

Instagram api - 搜索用户

转载 作者:行者123 更新时间:2023-12-02 22:41:04 26 4
gpt4 key购买 nike

我使用 Instagram API 开发应用程序。今天我在搜索用户时遇到问题。此查询始终只返回一条记录。

我用这个:(我剪掉了客户ID..)

https://api.instagram.com/v1/users/search?count=50&q=test&client_id=myID

https://api.instagram.com/v1/users/search?q=test&client_id=myID

但仍然得到相同的结果:

{"meta":{"code":200},"data":[{"username":"test","profile_picture":"https:\/\/igcdn-photos-c-a.akamaihd.net\/hphotos-ak-xfa1\/t51.2885-19\/10483581_1498221113789874_1762363890_a.jpg","id":"44291","full_name":"julian"}]}

昨天相同的查询返回 50 个用户。我在 Instagram API 中没有看到任何关于此的更改日志。你知道问题出在哪里吗?

最佳答案

Instagram 停用了用户/搜索端点。

当您现在调用https://api.instagram.com/v1/users/search?q=john&access_token=TOKEN-HERE时,您会收到以下响应:

{
"meta": {
"code": 400,
"error_type": "APINotAllowedError",
"error_message": "This endpoint has been retired"
}

关于Instagram api - 搜索用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29621771/

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