抖音
  1. 社交接口
抖音
  • 🦊一分钟,了解 Apifox !
  • 基础接口
    • 注册接口
      POST
    • 登录接口
      POST
    • 视频流接口
      GET
    • 用户信息接口
      GET
    • 投稿视频接口
      POST
    • 视频列表展示接口
      GET
  • 互动接口
    • 点赞&取消点赞
      POST
    • 用户的所有点赞视频接口
      GET
    • 评论
      POST
    • 删除评论
      POST
    • 评论列表
      GET
  • 社交接口
    • 关注用户接口
      POST
    • 用户关注列表
      GET
    • 用户粉丝列表
      GET
    • 用户好友列表
      GET
    • 发送信息
      POST
    • 聊天信息记录
      GET
  1. 社交接口

用户关注列表

开发中
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/douyin/relation/follow/list/
刷新并且给出该用户的全部关注
"粉丝"(Followers)与"关注"(Follow)"
follow_count: 该用户关注的人数
follower_count: 粉丝人数

请求参数

Query 参数
user_id
string 
可选
示例值:
6
token
string 
可选
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXIzIiwiaWQiOjYsImV4cCI6MTY5MzM4MzI1OSwiaXNzIjoiZ3MifQ.5DuBiS0JQF0aVysM8xLJhR3hIiF71W953H1Y4a_DHpk

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/douyin/relation/follow/list/?user_id=6&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVzZXIzIiwiaWQiOjYsImV4cCI6MTY5MzM4MzI1OSwiaXNzIjoiZ3MifQ.5DuBiS0JQF0aVysM8xLJhR3hIiF71W953H1Y4a_DHpk'

返回响应

🟢200成功
application/json
Body
status_code
string 
必需
status_msg
string 
必需
user_list
array [object {11}] 
必需
id
integer 
可选
name
string 
可选
follow_count
integer 
可选
follower_count
integer 
可选
is_follow
boolean 
可选
avatar
string 
可选
background_image
string 
可选
signature
string 
个人信息
可选
total_favorited
string 
此人的全部获取赞数
可选
work_count
integer 
可选
favorite_count
integer 
可选
示例
{
    "status_code": "string",
    "status_msg": "string",
    "user_list": [
        {
            "id": 0,
            "name": "string",
            "follow_count": 0,
            "follower_count": 0,
            "is_follow": true,
            "avatar": "string",
            "background_image": "string",
            "signature": "string",
            "total_favorited": "string",
            "work_count": 0,
            "favorite_count": 0
        }
    ]
}
上一页
关注用户接口
下一页
用户粉丝列表
Built with