您可以使用 Threads API 让他人在 Threads 上以个人名义创建和发布内容,并在您的应用程序内仅向创建者显示这些帖子。
Threads API 可通过 graph.threads.com 或 graph.threads.net 访问。
Calls within 24 hours = 4800 * Number of Impressions720000 * number_of_impressions for total_cputime
2880000 * Number of Impressions for total_timeThreads 主页在 24 小时内仅能通过 API 发布 250 个帖子。轮播算作单个帖子。在尝试发布媒体容器时,POST /{threads-user-id}/threads_publish 端点会强制执行此限制。我们建议您对自己的应用同样执行发布流量限制。如果您的应用允许应用用户设置在未来发布定时帖,则更应如此。
如要检查主页当前的 Threads API 流量限制使用情况,请查询 GET /{threads-user-id}/threads_publishing_limit 端点。
注意:此端点需要 threads_basic 和 threads_content_publish 权限。
| 名称 | 描述 |
|---|---|
| 过去 24 小时内的 Threads 发布次数。 |
| Threads 发布流量限制配置对象,其中包含 |
curl -s -X GET \ "https:graph.threads.net/v1.0/<THREADS_USER_ID>/threads_publishing_limit?fields=quota_usage,config&access_token=<ACCESS_TOKEN>"
{
"data": [
{
"quota_usage": 4,
"config": {
"quota_total": 250,
"quota_duration": 86400
}
}
]
}
Threads 主页在连续 24 小时内仅限发布 1,000 次回复。
要检查主页当前的 Threads 回复流量限制使用情况,请查询 GET /{threads-user-id}/threads_publishing_limit 端点。详情请参阅回复管理文档。
注意: 此端点要求提供 threads_basic、threads_content_publish 和 threads_manage_replies 权限。
| 名称 | 描述 |
|---|---|
| 过去 24 小时内的 Threads 回复发布次数。 |
| Threads 回复发布流量限制配置对象,其中包含 |
curl -s -X GET \ "https://graph.threads.net/v1.0/<THREADS_USER_ID>/threads_publishing_limit?fields=reply_quota_usage,reply_config&access_token=<ACCESS_TOKEN>"
{
"data": [
{
"reply_quota_usage": 1,
"reply_config": {
"quota_total": 1000,
"quota_duration": 86400
}
}
]
}
Threads 主页在连续 24 小时内仅限执行 100 次删除。
如要检查主页当前的 Threads 删除流量限制使用情况,请查询 GET /{threads-user-id}/threads_publishing_limit 端点。详情请参阅删除帖子文档。
注意:该端点需要 threads_basic 和 threads_delete 权限。
| 名称 | 描述 |
|---|---|
| 过去 24 小时内的 Threads 删除次数。 |
| Threads 删除流量限制配置对象,其中包含 |
curl -s -X GET \ "https://graph.threads.net/v1.0/<THREADS_USER_ID>/threads_publishing_limit?fields=delete_quota_usage,delete_config&access_token=<ACCESS_TOKEN>"
{
"data": [
{
"delete_quota_usage": 1,
"delete_config": {
"quota_total": 100,
"quota_duration": 86400
}
}
]
}
Threads 主页在连续 24 小时内仅限搜索 500 个地点。
如要检查主页当前的 Threads 地点搜索流量限制使用情况,请查询 GET /{threads-user-id}/threads_publishing_limit 端点。详情请参阅地点搜索文档。
注意:该端点需要 threads_basic 和 threads_location_tagging 权限。
| 名称 | 描述 |
|---|---|
| 过去 24 小时内的 Threads 地点搜索次数。 |
| Threads 地点搜索流量限制配置对象,其中包含 |
curl -s -X GET \ "https://graph.threads.net/v1.0/<THREADS_USER_ID>/threads_publishing_limit?fields=location_search_quota_usage,location_search_config&access_token=<ACCESS_TOKEN>"
{
"data": [
{
"location_search_quota_usage": 1,
"location_search_config": {
"quota_total": 500,
"quota_duration": 86400
}
}
]
}