比较 X API 的 List 成员 endpoint
List 成员查询
描述 | Standard v1.1 | X API v2 |
支持的 HTTP 方法 | GET | GET |
主机域名 | https://api.x.com | https://api.x.com |
endpoint 路径 | /1.1/lists/members.json | /2/lists/:id/members |
Authentication | OAuth 1.0a 用户上下文 App only | OAuth 1.0a 用户上下文 OAuth 2.0 授权码模式(Authorization Code)配合 PKCE App only |
默认请求请求速率限制 | 使用 OAuth 1.0a:每 15 分钟 900 次请求 使用 App only:每 15 分钟 75 次请求 | 使用 OAuth 1.0a:每 15 分钟 900 次请求 使用 OAuth 2.0:每 15 分钟 900 次请求 使用 App only:每 15 分钟 900 次请求 |
描述 | Standard v1.1 | X API v2 |
支持的 HTTP 方法 | GET | GET |
主机域名 | https://api.x.com | https://api.x.com |
endpoint 路径 | /1.1/lists/memberships.json | /2/users/:id/list_memberships |
Authentication | OAuth 1.0a 用户上下文 App only | OAuth 1.0a 用户上下文 OAuth 2.0 授权码模式(Authorization Code)配合 PKCE App only |
默认请求请求速率限制 | 使用 OAuth 1.0a:每 15 分钟 75 次请求 使用 App only:每 15 分钟 75 次请求 | 使用 OAuth 1.0a:每 15 分钟 75 次请求 使用 OAuth 2.0:每 15 分钟 75 次请求 使用 App only:每 15 分钟 75 次请求 |
管理 List 成员
描述 | Standard v1.1 | X API v2 |
---|---|---|
支持的 HTTP 方法 | POST | POST |
主机域名 | https://api.x.com | https://api.x.com |
endpoint 路径 | /1.1/lists/members/create.json | /2/lists/:id/members |
Authentication | OAuth 1.0a 用户上下文 | OAuth 1.0a 用户上下文 OAuth 2.0 授权码模式(Authorization Code)配合 PKCE |
默认请求请求速率限制 | 无 | 每 15 分钟 300 次请求(每用户) |
描述 | Standard v1.1 | X API v2 |
---|---|---|
支持的 HTTP 方法 | POST | DELETE |
主机域名 | https://api.x.com | https://api.x.com |
endpoint 路径 | /1.1/lists/members/destroy.json | /2/lists/:id/:user_id |
Authentication | OAuth 1.0a 用户上下文 | OAuth 1.0a 用户上下文 OAuth 2.0 授权码模式(Authorization Code)配合 PKCE |
默认请求请求速率限制 | 无 | 每 15 分钟 300 次请求(每用户) |