我尝试过,通过Python中的API库和Instagram和apigee.com提供的API控制台。
我使用了请求:GET /tags/tag-name/media/recent
。
我尝试了ferrari
代码。
除标签请求的每个媒体结果的用户的bio
字段外,所有结果都会完美填充。
以下是一些结果摘要:
"full_name": "AвтоСпаСтудия",
"bio": "",
"id": "435889630"
...
"full_name": "jacky_mitchell",
"bio": "",
"id": "1527609678"
它们都有空白的bio
字段。网站字段也是空白的记录。
其他人拥有same issue in the old Instagram group。
我可能不得不放弃这个半工作API并嗅探TCP / IP流量并做一些原始请求。
答案 0 :(得分:2)
获取bio
和website
字段的端点为/users/<user-id>
和/users/self
。
有一个错误,其中包含user
节点的某些端点将包含空的bio
和website
字段。那些终点不再返回这些字段。文档中的示例响应也已更新,以反映更改。
来源:http://developers.instagram.com/post/112826291271/api-bug-fixes
答案 1 :(得分:0)
根据Instagram API's Docs中的示例,这是预期的:
"user": {
"username": "emohatch",
"profile_picture": "http://distillery.s3.amazonaws.com/profiles/profile_1242695_75sq_1293915800.jpg",
"id": "1242695",
"full_name": "Dave"
}
唯一的解决方法可能是实际获取每个用户的完整信息(您实际需要生物信息),并尝试缓存结果以避免超出其速率限制。