资源描述:
《接口文档(完整)》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、用户接口checklogin登录判断并返回当前用户的用户信息HTTP请求方式:GET请求参数:说明actioncheckloginemail用户登录的邮箱password用户登录的密码返回结果:字段类型说明uidint用户uidreal_namestring真实姓名real_name_stateint真实姓名的显示状态0:所有人可见1:我关注的人可见2:仅自己可见screen_namestring昵称remarkstring备注信息genderstring性别provincestring省citystring市birthdaystring出生日期birthday_sta
2、teint生日显示状态0:公开,完整显示1:只显示月日2:保密qq_numberstringqq号码qq_number_stateintqq号码显示状态0:所有人可见1:我关注的人可见2:仅自己可见school_namestring学校名称class_namestring班级tagstring个人标签impressionstring粉丝印象profile_image_urlstring头像地址followers_countint粉丝数friedns_countint关注数statuses_countint心情数flowers_countint鲜花数favourites_
3、countint收藏数blacklist_countint黑名单数示例:{"uid":12345,"real_name":"张三丰","real_name_state":0,"screen_name":"大脑袋","remark":"张三疯","gender":"男","province":"北京市","city":"海淀区","birthday":"1987-01-01","birthday_state":0,"qq_number":"123456","qq_number_state":0,"school_name":"和谐小学","class_name":"10级3
4、班","tag":"小孩子80后爱吃听音乐","impression":"有大脑没智商同上同上","profile_image_url":"http://www.xinqing.com/avator/zhansanfengtouxiang.jpg","followers_count":18,"friedns_count":20,"statuses_count":35,"flowers_count":18,"favourites_count":24,"blacklist_count":2}usershow通过uid获取用户信息HTTP请求方式:GET请求参数:说明acti
5、onusershowuid要查询的用户uid返回结果:同checklogin示例:同checkloginfriends获取用户关注列表,返回结果按关注时间倒序排列,最新关注的用户排在最前面。HTTP请求方式:GET请求参数:说明actionfriendsuid被查询用户的uidpage关注分页的页码count每页显示的关注数返回结果:字段类型说明uidint用户uidscreen_namestring昵称genderstring性别provincestring省citystring市remarkstring备注friends_stateint当前登录用户是否已关注此用户
6、0:未关注1:已关注示例:[{"uid":12345,"screen_name":"大脑袋","remark":"张三疯","gender":"男","province":"北京市","city":"海淀区","friends_state":1},{"uid":34556,"screen_name":"小脑袋","remark":"假鲍鱼","gender":"男","province":"北京市","city":"海淀区","friends_state":1},......]follows获取用户粉丝列表,返回结果按粉丝关注时间倒序排列,最新关注的粉丝排在最前面。HT
7、TP请求方式:GET请求参数:说明actionfollowsuid被查询用户的uidpage粉丝分页的页码count每页显示的粉丝数返回结果:字段类型说明uidint用户uidscreen_namestring昵称genderstring性别provincestring省citystring市remarkstring备注friends_stateint当前登录用户是否已关注此用户0:未关注1:已关注示例:[{"uid":12345,"screen_name":"大脑袋","remark":"张三疯","gender":"男","provi