Instagram空字符串用于用户对象中的每个生物 [英] Instagram empty string for every bio in user object

查看:40
本文介绍了Instagram空字符串用于用户对象中的每个生物的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过Python中的API库以及Instagram和apigee.com提供的API控制台进行了尝试.

I've tried, both via an API library in Python and the API console that Instagram and apigee.com provide.

我使用以下请求: GET/tags/tag-name/media/recent .我尝试过 ferrari 标签.

I use the request: GET /tags/tag-name/media/recent. I tried ferrari tag.

所有结果均完美填充,除了用户的 bio 字段外(来自标签请求的每种媒体结果).

All results populate perfectly, except the bio field of the user for each media result from the tag request.

以下是一些结果片段:

"full_name": "AвтоСпаСтудия",
"bio": "",
"id": "435889630"
...

"full_name": "jacky_mitchell",
"bio": "",
"id": "1527609678"

它们都有空白的 bio 字段.记录中的网站字段也为空白.

They all have blank bio fields. The website fields are also blank for the record.

其他人在旧Instagram中有相同的问题组.

Someone else had the same issue in the old Instagram group.

我可能不得不放弃这个半工作的API,并嗅探TCP/IP通信并执行一些原始请求.

I might have to ditch this half-working API and sniff the TCP/IP traffic and do some raw requests.

推荐答案

获取 bio website 字段的端点是/users/< user-id> /users/self .

The endpoints to get the bio and website fields are /users/<user-id> and /users/self.

存在一个错误,即某些包含 user 节点的端点的空 bio website 字段.这些端点不再返回这些字段.文档中的样本回复也已更新,以反映更改.

There was a bug where some endpoints containing the user node would have empty bio and website fields. Those endpoints don't return those fields anymore. The sample responses in the docs have also been updated to reflect the change.

来源: http://developers.instagram.com/post/112826291271/api-bug-fixes

这篇关于Instagram空字符串用于用户对象中的每个生物的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆