Glasser
Glasser

数据提供商: TikHub

X 用户帖子,单页

$0.0011 / 次调用在 40 秒内响应

读取一个 X 用户 Posts 页签的帖子,最新优先,每页约 20 条。包含转帖和引用帖,不含该账号对其他人的回复(回复请使用 /api/v1/twitter/web/fetch_user_tweet_replies)。可以提供 screen_name 或 rest_id(以数字字符串形式表示的用户 id);如果同时提供了两者,系统将会使用 rest_id。将 data.next_cursor 作为 cursor 传回以获取下一页,data.timeline 为空时停止;X 提供任一账号约最近 850 条帖子。提供商返回 400,提示 'Request failed. Please retry',表示账号名不存在、账号没有帖子或 TikHub 的 X 路径故障;重试一次后切换接口。每次调用发送一次请求;无论是否返回数据,TikHub 都对请求计费,空数据响应会标记为无结果。

如何调用

第 1 步接入

首次使用时,将提示词粘贴到 Agent 对话中。Skill 会自动安装 CLI 并完成登录。无法使用 shell 的 Agent 可通过 MCP 接入。

接入
set up https://glasser.ai/SKILL.md

Show me how to use the TikHub endpoint /api/v1/twitter/web/fetch_user_post_tweet on Glasser.

第 2 步尝试一个具体任务

制作研究简报时,可以查找与你的主题相关的已发布帖子,将它们用作资料来源。

复制此提示词到你的 Agent,查找研究简报所需的帖子。

提示词
Use tikhub:/api/v1/twitter/web/fetch_user_post_tweet on Glasser.
Find published content about my topic in the returned posts for a research brief.

接口结构

json
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "cursor": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "Cursor, default is None, used for paging, obtained from the JSON in the last request."
    },
    "rest_id": {
      "type": "string",
      "pattern": "^[0-9]+$",
      "maxLength": 2048,
      "minLength": 1,
      "description": "User ID, for example: 44196397, if the user ID is used, the username will be ignored, only one of them can be selected."
    },
    "screen_name": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk"
    }
  },
  "additionalProperties": false
}

计费说明

返回数据或无匹配有无匹配数据均按此价格收费。$0.0011
数据提供商错误数据提供商未能响应。$0.00
运行超时运行超过时间限制。$0.00
内部错误内部错误导致运行未能完成。$0.00