pp-x-twitter
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- GENERATED FILE — DO NOT EDIT.
This file is a verbatim mirror of library/social-and-messaging/x-twitter/SKILL.md,
regenerated post-merge by tools/generate-skills/. Hand-edits here are
silently overwritten on the next regen. Edit the library/ source instead.
See AGENTS.md "Generated artifacts: registry.json, cli-skills/". -->
<!-- 生成文件 — 请勿编辑。
此文件是library/social-and-messaging/x-twitter/SKILL.md的完全镜像,
由tools/generate-skills/在合并后重新生成。此处的手动编辑会在下次重新生成时被静默覆盖。请改为编辑library/中的源文件。
参见AGENTS.md中的“生成产物:registry.json, cli-skills/”。 -->
X (Twitter) — Printing Press CLI
X (Twitter) — Printing Press CLI
Prerequisites: Install the CLI
前提条件:安装CLI
This skill drives the binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
x-twitter-pp-cli- Install via the Printing Press installer:
bash
npx -y @mvanhorn/printing-press install x-twitter --cli-only - Verify:
x-twitter-pp-cli --version - Ensure (or
$GOPATH/bin) is on$HOME/go/bin.$PATH
If the install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.3 or newer):
npxbash
go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/x-twitter/cmd/x-twitter-pp-cli@latestIf reports "command not found" after install, the install step did not put the binary on . Do not proceed with skill commands until verification succeeds.
--version$PATHCombined CLI for multiple API services
此技能驱动二进制文件。在调用此技能的任何命令之前,您必须验证CLI已安装。如果未安装,请先进行安装:
x-twitter-pp-cli- 通过Printing Press安装程序安装:
bash
npx -y @mvanhorn/printing-press install x-twitter --cli-only - 验证:
x-twitter-pp-cli --version - 确保(或
$GOPATH/bin)已添加到$HOME/go/bin中。$PATH
如果安装失败(无Node环境、离线等),可回退到直接通过Go安装(需要Go 1.26.3或更高版本):
npxbash
go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/x-twitter/cmd/x-twitter-pp-cli@latest如果安装后提示“command not found”,说明安装步骤未将二进制文件添加到中。在验证成功前,请不要继续执行技能命令。
--version$PATH整合多API服务的CLI工具
HTTP Transport
HTTP传输
This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.
此CLI使用兼容Chrome的HTTP传输来处理面向浏览器的端点。正常API调用不需要常驻浏览器进程。
Command Reference
命令参考
account-activity — Endpoints relating to retrieving, managing AAA subscriptions
- — Creates an Account Activity subscription for the user and the given webhook.
x-twitter-pp-cli account-activity create-subscription - — Deletes an Account Activity subscription for the given webhook and user ID.
x-twitter-pp-cli account-activity delete-subscription - — Retrieves a count of currently active Account Activity subscriptions.
x-twitter-pp-cli account-activity get-subscription-count - — Retrieves a list of all active subscriptions for a given webhook.
x-twitter-pp-cli account-activity get-subscriptions - — Checks a user’s Account Activity subscription for a given webhook.
x-twitter-pp-cli account-activity validate-subscription
activity — Manage activity
- — Creates a subscription for an X activity event
x-twitter-pp-cli activity create-subscription - — Deletes a subscription for an X activity event
x-twitter-pp-cli activity delete-subscription - — Deletes multiple subscriptions for X activity events by their IDs
x-twitter-pp-cli activity delete-subscriptions-by-ids - — Get a list of active subscriptions for XAA
x-twitter-pp-cli activity get-subscriptions - — Stream of X Activities
x-twitter-pp-cli activity stream - — Updates a subscription for an X activity event
x-twitter-pp-cli activity update-subscription
articles — X Articles (long-form posts) authoring + media upload
- — POST /i/api/graphql/g1l5N8BxGewYuCy5USe_bQ/ArticleEntityDraftCreate
x-twitter-pp-cli articles create_draft - — POST /i/api/graphql/e4lWqB6m2TA8Fn_j9L9xEA/ArticleEntityDelete
x-twitter-pp-cli articles delete - — GET /i/api/graphql/N1zzFzRPspT-sP9Q42n_bg/ArticleEntitiesSlice
x-twitter-pp-cli articles list - — POST /i/api/graphql/m4SHicYMoWO_qkLvjhDk7Q/ArticleEntityPublish
x-twitter-pp-cli articles publish - — POST /i/api/graphql/M7N2FrPrlOmu-YrVIBxFnQ/ArticleEntityUpdateContent
x-twitter-pp-cli articles update_content - — POST /i/api/graphql/Es8InPh7mEkK9PxclxFAVQ/ArticleEntityUpdateCoverMedia
x-twitter-pp-cli articles update_cover_media - — POST /i/api/graphql/x75E2ABzm8_mGTg1bz8hcA/ArticleEntityUpdateTitle
x-twitter-pp-cli articles update_title - — POST /i/media/upload.json
x-twitter-pp-cli articles upload_media
chat — Manage chat
- — Adds one or more members to an existing encrypted Chat group conversation, rotating the conversation key.
x-twitter-pp-cli chat add-group-members - — Creates a new encrypted Chat group conversation on behalf of the authenticated user.
x-twitter-pp-cli chat create-conversation - — Retrieves messages and key change events for a specific Chat conversation with pagination support. For 1:1...
x-twitter-pp-cli chat get-conversation - — Retrieves a list of Chat conversations for the authenticated user's inbox.
x-twitter-pp-cli chat get-conversations - — Initializes encryption keys for a Chat conversation. This is the first step before sending messages in a new 1:1...
x-twitter-pp-cli chat initialize-conversation-keys - — Initializes a new XChat group conversation and returns a unique conversation ID. This endpoint is the first step in...
x-twitter-pp-cli chat initialize-group - — Marks a specific Chat conversation as read on behalf of the authenticated user. For 1:1 conversations, provide the...
x-twitter-pp-cli chat mark-conversation-read - — Downloads encrypted media bytes from an XChat conversation. The response body contains raw binary bytes. For 1:1...
x-twitter-pp-cli chat media-download - — Appends media data to an XChat upload session.
x-twitter-pp-cli chat media-upload-append - — Finalizes an XChat media upload session.
x-twitter-pp-cli chat media-upload-finalize - — Initializes an XChat media upload session.
x-twitter-pp-cli chat media-upload-initialize - — Sends an encrypted message to a specific Chat conversation. For 1:1 conversations, provide the recipient's user ID;...
x-twitter-pp-cli chat send-message - — Sends a typing indicator to a specific Chat conversation on behalf of the authenticated user. For 1:1 conversations,...
x-twitter-pp-cli chat send-typing-indicator
communities — Manage communities
- — Retrieves details of a specific Community by its ID.
x-twitter-pp-cli communities get-by-id - — Retrieves a list of Communities matching the specified search query.
x-twitter-pp-cli communities search
compliance — Endpoints related to keeping X data in your systems compliant
- — Creates a new Compliance Job for the specified job type.
x-twitter-pp-cli compliance create-jobs - — Retrieves a list of Compliance Jobs filtered by job type and optional status.
x-twitter-pp-cli compliance get-jobs - — Retrieves details of a specific Compliance Job by its ID.
x-twitter-pp-cli compliance get-jobs-by-id
connections — Endpoints related to streaming connections
- — Terminates all active streaming connections for the authenticated application.
x-twitter-pp-cli connections delete-all - — Terminates all streaming connections for a specific endpoint ID for the authenticated application.
x-twitter-pp-cli connections delete-by-endpoint - — Terminates multiple streaming connections by their UUIDs for the authenticated application.
x-twitter-pp-cli connections delete-by-uuids - — Returns active and historical streaming connections with disconnect reasons for the authenticated application.
x-twitter-pp-cli connections get-history
dm-conversations — Manage dm conversations
- — Sends a new direct message to a specific participant by their ID.
x-twitter-pp-cli dm-conversations create-direct-messages-by-participant-id - — Initiates a new direct message conversation with specified participants.
x-twitter-pp-cli dm-conversations create-direct-messages-conversation - — Retrieves direct message events for a specific conversation.
x-twitter-pp-cli dm-conversations get-direct-messages-events-by-participant-id - — Downloads media attached to a legacy Direct Message. The requesting user must be a participant in the conversation...
x-twitter-pp-cli dm-conversations media-download
dm-events — Manage dm events
- — Deletes a specific direct message event by its ID, if owned by the authenticated user.
x-twitter-pp-cli dm-events delete-direct-messages-events - — Retrieves a list of recent direct message events across all conversations.
x-twitter-pp-cli dm-events get-direct-messages-events - — Retrieves details of a specific direct message event by its ID.
x-twitter-pp-cli dm-events get-direct-messages-events-by-id
evaluate-note — Manage evaluate note
- — Endpoint to evaluate a community note.
x-twitter-pp-cli evaluate-note
insights — Manage insights
- — Retrieves historical engagement metrics for specified Posts within a defined time range.
x-twitter-pp-cli insights get-historical - — Retrieves engagement metrics for specified Posts over the last 28 hours.
x-twitter-pp-cli insights get-insights28-hr
likes — Manage likes
- — Streams all compliance data related to Likes for Users.
x-twitter-pp-cli likes stream-compliance - — Streams all public Likes in real-time.
x-twitter-pp-cli likes stream-firehose - — Streams a 10% sample of public Likes in real-time.
x-twitter-pp-cli likes stream-sample10
lists — Endpoints related to retrieving, managing Lists
- — Creates a new List for the authenticated user.
x-twitter-pp-cli lists create - — Deletes a specific List owned by the authenticated user by its ID.
x-twitter-pp-cli lists delete - — Retrieves details of a specific List by its ID.
x-twitter-pp-cli lists get-by-id - — Updates the details of a specific List owned by the authenticated user by its ID.
x-twitter-pp-cli lists update
media — Endpoints related to Media
- — Appends data to a Media upload request.
x-twitter-pp-cli media append-upload - — Creates metadata for a Media file.
x-twitter-pp-cli media create-metadata - — Creates subtitles for a specific Media file.
x-twitter-pp-cli media create-subtitles - — Deletes subtitles for a specific Media file.
x-twitter-pp-cli media delete-subtitles - — Finalizes a Media upload request.
x-twitter-pp-cli media finalize-upload - — Retrieves analytics data for media.
x-twitter-pp-cli media get-analytics - — Retrieves details of a specific Media file by its media key.
x-twitter-pp-cli media get-by-key - — Retrieves details of Media files by their media keys.
x-twitter-pp-cli media get-by-keys - — Retrieves the status of a Media upload by its ID.
x-twitter-pp-cli media get-upload-status - — Initializes a media upload.
x-twitter-pp-cli media initialize-upload - — Uploads a media file for use in posts or other content.
x-twitter-pp-cli media upload
news — Endpoint for retrieving news stories
- — Retrieves news story by its ID.
x-twitter-pp-cli news get - — Retrieves a list of News stories matching the specified search query.
x-twitter-pp-cli news search
notes — Manage notes
- — Creates a community note endpoint for LLM use case.
x-twitter-pp-cli notes create-community - — Deletes a community note.
x-twitter-pp-cli notes delete-community - — Returns all the community notes written by the user.
x-twitter-pp-cli notes search-community-written - — Returns all the posts that are eligible for community notes.
x-twitter-pp-cli notes search-eligible-posts
openapi-json — Manage openapi json
- — Retrieves the full OpenAPI Specification in JSON format. (See...
x-twitter-pp-cli openapi-json
spaces — Endpoints related to retrieving, managing Spaces
- — Retrieves details of Spaces created by specified User IDs.
x-twitter-pp-cli spaces get-by-creator-ids - — Retrieves details of a specific space by its ID.
x-twitter-pp-cli spaces get-by-id - — Retrieves details of multiple Spaces by their IDs.
x-twitter-pp-cli spaces get-by-ids - — Retrieves a list of Spaces matching the specified search query.
x-twitter-pp-cli spaces search
trends — Manage trends
- — Retrieves trending topics for a specific location identified by its WOEID.
x-twitter-pp-cli trends <woeid>
tweets — Endpoints related to retrieving, searching, and modifying Tweets
- — Creates a new Post for the authenticated user, or edits an existing Post when edit_options are provided. Supports...
x-twitter-pp-cli tweets create-posts - — Creates a link to deliver FilteredStream events to the given webhook.
x-twitter-pp-cli tweets create-webhooks-stream-link - — Deletes a specific Post by its ID, if owned by the authenticated user.
x-twitter-pp-cli tweets delete-posts - — Deletes a link from FilteredStream events to the given webhook.
x-twitter-pp-cli tweets delete-webhooks-stream-link - — Retrieves analytics data for specified Posts within a defined time range.
x-twitter-pp-cli tweets get-posts-analytics - — Retrieves details of a specific Post by its ID.
x-twitter-pp-cli tweets get-posts-by-id - — Retrieves details of multiple Posts by their IDs.
x-twitter-pp-cli tweets get-posts-by-ids - — Retrieves the count of Posts from the last 7 days matching a search query.
x-twitter-pp-cli tweets get-posts-counts-recent - — Get a list of webhook links associated with a filtered stream ruleset.
x-twitter-pp-cli tweets get-webhooks-stream-links - — Retrieves Posts from the last 7 days matching a search query.
x-twitter-pp-cli tweets search-posts-recent - — Streams all labeling events applied to Posts.
x-twitter-pp-cli tweets stream-labels-compliance - — Streams all compliance data related to Posts.
x-twitter-pp-cli tweets stream-posts-compliance - — Streams all public Posts in real-time.
x-twitter-pp-cli tweets stream-posts-firehose - — Streams all public English-language Posts in real-time.
x-twitter-pp-cli tweets stream-posts-firehose-en - — Streams all public Japanese-language Posts in real-time.
x-twitter-pp-cli tweets stream-posts-firehose-ja - — Streams all public Korean-language Posts in real-time.
x-twitter-pp-cli tweets stream-posts-firehose-ko - — Streams all public Portuguese-language Posts in real-time.
x-twitter-pp-cli tweets stream-posts-firehose-pt - — Streams a 1% sample of public Posts in real-time.
x-twitter-pp-cli tweets stream-posts-sample - — Streams a 10% sample of public Posts in real-time.
x-twitter-pp-cli tweets stream-posts-sample10
usage — Manage usage
- — Retrieves usage statistics for Posts over a specified number of days.
x-twitter-pp-cli usage
users — Endpoints related to retrieving, managing relationships of Users
- — Retrieves details of a specific User by their ID.
x-twitter-pp-cli users get-by-id - — Retrieves details of multiple Users by their IDs.
x-twitter-pp-cli users get-by-ids - — Retrieves details of a specific User by their username.
x-twitter-pp-cli users get-by-username - — Retrieves details of multiple Users by their usernames.
x-twitter-pp-cli users get-by-usernames - — Retrieves details of the authenticated user.
x-twitter-pp-cli users get-me - — Returns the public keys and Juicebox configuration for the specified users.
x-twitter-pp-cli users get-public-keys - — Retrieves a list of Posts that repost content from the authenticated user.
x-twitter-pp-cli users get-reposts-of-me - — Retrieves personalized trending topics for the authenticated user.
x-twitter-pp-cli users get-trends-personalized-trends - — Retrieves a list of Users matching a search query.
x-twitter-pp-cli users search - — Streams all compliance data related to Users.
x-twitter-pp-cli users stream-compliance
webhooks — Manage webhooks
- — Creates a new webhook configuration.
x-twitter-pp-cli webhooks create - — Creates a replay job to retrieve events from up to the past 24 hours for all events delivered or attempted to be...
x-twitter-pp-cli webhooks create-replay-job - — Deletes an existing webhook configuration.
x-twitter-pp-cli webhooks delete - — Get a list of webhook configs associated with a client app.
x-twitter-pp-cli webhooks get - — Triggers a CRC check for a given webhook.
x-twitter-pp-cli webhooks validate
account-activity — 与检索、管理AAA订阅相关的端点
- — 为用户和指定webhook创建Account Activity订阅。
x-twitter-pp-cli account-activity create-subscription - — 删除指定webhook和用户ID对应的Account Activity订阅。
x-twitter-pp-cli account-activity delete-subscription - — 获取当前活跃的Account Activity订阅数量。
x-twitter-pp-cli account-activity get-subscription-count - — 获取指定webhook下所有活跃订阅的列表。
x-twitter-pp-cli account-activity get-subscriptions - — 检查用户针对指定webhook的Account Activity订阅状态。
x-twitter-pp-cli account-activity validate-subscription
activity — 管理活动
- — 为X活动事件创建订阅
x-twitter-pp-cli activity create-subscription - — 删除X活动事件的订阅
x-twitter-pp-cli activity delete-subscription - — 通过ID删除多个X活动事件的订阅
x-twitter-pp-cli activity delete-subscriptions-by-ids - — 获取XAA的活跃订阅列表
x-twitter-pp-cli activity get-subscriptions - — X活动流
x-twitter-pp-cli activity stream - — 更新X活动事件的订阅
x-twitter-pp-cli activity update-subscription
articles — X文章(长文帖子)创作 + 媒体上传
- — POST /i/api/graphql/g1l5N8BxGewYuCy5USe_bQ/ArticleEntityDraftCreate
x-twitter-pp-cli articles create_draft - — POST /i/api/graphql/e4lWqB6m2TA8Fn_j9L9xEA/ArticleEntityDelete
x-twitter-pp-cli articles delete - — GET /i/api/graphql/N1zzFzRPspT-sP9Q42n_bg/ArticleEntitiesSlice
x-twitter-pp-cli articles list - — POST /i/api/graphql/m4SHicYMoWO_qkLvjhDk7Q/ArticleEntityPublish
x-twitter-pp-cli articles publish - — POST /i/api/graphql/M7N2FrPrlOmu-YrVIBxFnQ/ArticleEntityUpdateContent
x-twitter-pp-cli articles update_content - — POST /i/api/graphql/Es8InPh7mEkK9PxclxFAVQ/ArticleEntityUpdateCoverMedia
x-twitter-pp-cli articles update_cover_media - — POST /i/api/graphql/x75E2ABzm8_mGTg1bz8hcA/ArticleEntityUpdateTitle
x-twitter-pp-cli articles update_title - — POST /i/media/upload.json
x-twitter-pp-cli articles upload_media
chat — 管理聊天
- — 将一个或多个成员添加到现有的加密Chat群组对话中,并轮换对话密钥。
x-twitter-pp-cli chat add-group-members - — 代表已认证用户创建新的加密Chat群组对话。
x-twitter-pp-cli chat create-conversation - — 检索特定Chat对话的消息和密钥变更事件,支持分页。对于一对一对话...
x-twitter-pp-cli chat get-conversation - — 检索已认证用户收件箱中的Chat对话列表。
x-twitter-pp-cli chat get-conversations - — 为Chat对话初始化加密密钥。这是在新的一对一对话中发送消息之前的第一步...
x-twitter-pp-cli chat initialize-conversation-keys - — 初始化新的XChat群组对话并返回唯一的对话ID。此端点是...的第一步
x-twitter-pp-cli chat initialize-group - — 代表已认证用户将特定Chat对话标记为已读。对于一对一对话,请提供...
x-twitter-pp-cli chat mark-conversation-read - — 从XChat对话中下载加密媒体字节。响应主体包含原始二进制字节。对于一对一对话...
x-twitter-pp-cli chat media-download - — 将媒体数据附加到XChat上传会话中。
x-twitter-pp-cli chat media-upload-append - — 完成XChat媒体上传会话。
x-twitter-pp-cli chat media-upload-finalize - — 初始化XChat媒体上传会话。
x-twitter-pp-cli chat media-upload-initialize - — 向特定Chat对话发送加密消息。对于一对一对话,请提供收件人的用户ID;...
x-twitter-pp-cli chat send-message - — 代表已认证用户向特定Chat对话发送输入状态提示。对于一对一对话...
x-twitter-pp-cli chat send-typing-indicator
communities — 管理社区
- — 通过ID检索特定社区的详细信息。
x-twitter-pp-cli communities get-by-id - — 检索与指定搜索查询匹配的社区列表。
x-twitter-pp-cli communities search
compliance — 与保持X数据合规相关的端点
- — 为指定作业类型创建新的合规作业。
x-twitter-pp-cli compliance create-jobs - — 检索按作业类型和可选状态筛选的合规作业列表。
x-twitter-pp-cli compliance get-jobs - — 通过ID检索特定合规作业的详细信息。
x-twitter-pp-cli compliance get-jobs-by-id
connections — 与流连接相关的端点
- — 终止已认证应用的所有活跃流连接。
x-twitter-pp-cli connections delete-all - — 终止已认证应用针对特定端点ID的所有流连接。
x-twitter-pp-cli connections delete-by-endpoint - — 通过UUID终止已认证应用的多个流连接。
x-twitter-pp-cli connections delete-by-uuids - — 返回已认证应用的活跃和历史流连接及其断开原因。
x-twitter-pp-cli connections get-history
dm-conversations — 管理私信对话
- — 通过参与者ID向特定参与者发送新私信。
x-twitter-pp-cli dm-conversations create-direct-messages-by-participant-id - — 与指定参与者发起新的私信对话。
x-twitter-pp-cli dm-conversations create-direct-messages-conversation - — 检索特定对话的私信事件。
x-twitter-pp-cli dm-conversations get-direct-messages-events-by-participant-id - — 下载附加到旧版私信的媒体。请求用户必须是对话的参与者...
x-twitter-pp-cli dm-conversations media-download
dm-events — 管理私信事件
- — 如果由已认证用户拥有,则通过ID删除特定私信事件。
x-twitter-pp-cli dm-events delete-direct-messages-events - — 检索所有对话中的近期私信事件列表。
x-twitter-pp-cli dm-events get-direct-messages-events - — 通过ID检索特定私信事件的详细信息。
x-twitter-pp-cli dm-events get-direct-messages-events-by-id
evaluate-note — 管理社区笔记评估
- — 评估社区笔记的端点。
x-twitter-pp-cli evaluate-note
insights — 管理洞察数据
- — 在指定时间范围内检索指定帖子的历史互动指标。
x-twitter-pp-cli insights get-historical - — 检索指定帖子过去28小时的互动指标。
x-twitter-pp-cli insights get-insights28-hr
likes — 管理点赞
- — 流式传输与用户点赞相关的所有合规数据。
x-twitter-pp-cli likes stream-compliance - — 实时流式传输所有公开点赞。
x-twitter-pp-cli likes stream-firehose - — 实时流式传输10%的公开点赞样本。
x-twitter-pp-cli likes stream-sample10
lists — 与检索、管理列表相关的端点
- — 为已认证用户创建新列表。
x-twitter-pp-cli lists create - — 通过ID删除已认证用户拥有的特定列表。
x-twitter-pp-cli lists delete - — 通过ID检索特定列表的详细信息。
x-twitter-pp-cli lists get-by-id - — 通过ID更新已认证用户拥有的特定列表的详细信息。
x-twitter-pp-cli lists update
media — 与媒体相关的端点
- — 将数据附加到媒体上传请求中。
x-twitter-pp-cli media append-upload - — 为媒体文件创建元数据。
x-twitter-pp-cli media create-metadata - — 为特定媒体文件创建字幕。
x-twitter-pp-cli media create-subtitles - — 删除特定媒体文件的字幕。
x-twitter-pp-cli media delete-subtitles - — 完成媒体上传请求。
x-twitter-pp-cli media finalize-upload - — 检索媒体的分析数据。
x-twitter-pp-cli media get-analytics - — 通过媒体密钥检索特定媒体文件的详细信息。
x-twitter-pp-cli media get-by-key - — 通过媒体密钥检索多个媒体文件的详细信息。
x-twitter-pp-cli media get-by-keys - — 通过ID检索媒体上传的状态。
x-twitter-pp-cli media get-upload-status - — 初始化媒体上传。
x-twitter-pp-cli media initialize-upload - — 上传媒体文件以用于帖子或其他内容。
x-twitter-pp-cli media upload
news — 检索新闻报道的端点
- — 通过ID检索新闻报道。
x-twitter-pp-cli news get - — 检索与指定搜索查询匹配的新闻报道列表。
x-twitter-pp-cli news search
notes — 管理社区笔记
- — 为LLM用例创建社区笔记端点。
x-twitter-pp-cli notes create-community - — 删除社区笔记。
x-twitter-pp-cli notes delete-community - — 返回用户撰写的所有社区笔记。
x-twitter-pp-cli notes search-community-written - — 返回所有符合社区笔记条件的帖子。
x-twitter-pp-cli notes search-eligible-posts
openapi-json — 管理OpenAPI JSON
- — 检索JSON格式的完整OpenAPI规范。(参见...
x-twitter-pp-cli openapi-json
spaces — 与检索、管理Spaces相关的端点
- — 检索指定用户ID创建的Spaces的详细信息。
x-twitter-pp-cli spaces get-by-creator-ids - — 通过ID检索特定Space的详细信息。
x-twitter-pp-cli spaces get-by-id - — 通过ID检索多个Spaces的详细信息。
x-twitter-pp-cli spaces get-by-ids - — 检索与指定搜索查询匹配的Spaces列表。
x-twitter-pp-cli spaces search
trends — 管理趋势
- — 通过WOEID检索特定位置的热门话题。
x-twitter-pp-cli trends <woeid>
tweets — 与检索、搜索和修改推文相关的端点
- — 为已认证用户创建新帖子,或在提供edit_options时编辑现有帖子。支持...
x-twitter-pp-cli tweets create-posts - — 创建链接以将FilteredStream事件传递到指定webhook。
x-twitter-pp-cli tweets create-webhooks-stream-link - — 如果由已认证用户拥有,则通过ID删除特定帖子。
x-twitter-pp-cli tweets delete-posts - — 删除FilteredStream事件到指定webhook的链接。
x-twitter-pp-cli tweets delete-webhooks-stream-link - — 在指定时间范围内检索指定帖子的分析数据。
x-twitter-pp-cli tweets get-posts-analytics - — 通过ID检索特定帖子的详细信息。
x-twitter-pp-cli tweets get-posts-by-id - — 通过ID检索多个帖子的详细信息。
x-twitter-pp-cli tweets get-posts-by-ids - — 检索过去7天内与搜索查询匹配的帖子数量。
x-twitter-pp-cli tweets get-posts-counts-recent - — 获取与过滤流规则集关联的webhook链接列表。
x-twitter-pp-cli tweets get-webhooks-stream-links - — 检索过去7天内与搜索查询匹配的帖子。
x-twitter-pp-cli tweets search-posts-recent - — 流式传输应用于帖子的所有标记事件。
x-twitter-pp-cli tweets stream-labels-compliance - — 流式传输与帖子相关的所有合规数据。
x-twitter-pp-cli tweets stream-posts-compliance - — 实时流式传输所有公开帖子。
x-twitter-pp-cli tweets stream-posts-firehose - — 实时流式传输所有公开英文帖子。
x-twitter-pp-cli tweets stream-posts-firehose-en - — 实时流式传输所有公开日文帖子。
x-twitter-pp-cli tweets stream-posts-firehose-ja - — 实时流式传输所有公开韩文帖子。
x-twitter-pp-cli tweets stream-posts-firehose-ko - — 实时流式传输所有公开葡萄牙文帖子。
x-twitter-pp-cli tweets stream-posts-firehose-pt - — 实时流式传输1%的公开帖子样本。
x-twitter-pp-cli tweets stream-posts-sample - — 实时流式传输10%的公开帖子样本。
x-twitter-pp-cli tweets stream-posts-sample10
usage — 管理使用情况
- — 检索指定天数内的帖子使用统计数据。
x-twitter-pp-cli usage
users — 与检索、管理用户关系相关的端点
- — 通过ID检索特定用户的详细信息。
x-twitter-pp-cli users get-by-id - — 通过ID检索多个用户的详细信息。
x-twitter-pp-cli users get-by-ids - — 通过用户名检索特定用户的详细信息。
x-twitter-pp-cli users get-by-username - — 通过用户名检索多个用户的详细信息。
x-twitter-pp-cli users get-by-usernames - — 检索已认证用户的详细信息。
x-twitter-pp-cli users get-me - — 返回指定用户的公钥和Juicebox配置。
x-twitter-pp-cli users get-public-keys - — 检索转发已认证用户内容的帖子列表。
x-twitter-pp-cli users get-reposts-of-me - — 检索已认证用户的个性化热门话题。
x-twitter-pp-cli users get-trends-personalized-trends - — 检索与搜索查询匹配的用户列表。
x-twitter-pp-cli users search - — 流式传输与用户相关的所有合规数据。
x-twitter-pp-cli users stream-compliance
webhooks — 管理webhooks
- — 创建新的webhook配置。
x-twitter-pp-cli webhooks create - — 创建重放作业,以检索过去24小时内所有已交付或尝试交付的事件...
x-twitter-pp-cli webhooks create-replay-job - — 删除现有的webhook配置。
x-twitter-pp-cli webhooks delete - — 获取与客户端应用关联的webhook配置列表。
x-twitter-pp-cli webhooks get - — 触发指定webhook的CRC检查。
x-twitter-pp-cli webhooks validate
Finding the right command
查找合适的命令
When you know what you want to do but not which command does it, ask the CLI directly:
bash
x-twitter-pp-cli which "<capability in your own words>"which02--help当您知道要执行的操作但不知道对应命令时,可以直接询问CLI:
bash
x-twitter-pp-cli which "<用您自己的话描述功能>"which02--helpAuth Setup
认证设置
Store your access token:
bash
x-twitter-pp-cli auth set-token YOUR_TOKEN_HEREOr set as an environment variable.
X_OAUTH2_USER_TOKENRun to verify setup.
x-twitter-pp-cli doctor存储您的访问令牌:
bash
x-twitter-pp-cli auth set-token YOUR_TOKEN_HERE或者将设置为环境变量。
X_OAUTH2_USER_TOKEN运行以验证设置是否正确。
x-twitter-pp-cli doctorAgent Mode
Agent模式
Add to any command. Expands to: .
--agent--json --compact --no-input --no-color --yes-
Pipeable — JSON on stdout, errors on stderr
-
Filterable —keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:
--selectbashx-twitter-pp-cli articles list --agent --select id,name,status -
Previewable —shows the request without sending
--dry-run -
Offline-friendly — sync/search commands can use the local SQLite store when available
-
Non-interactive — never prompts, every input is a flag
-
Explicit retries — useonly when an already-existing create should count as success, and
--idempotentonly when a missing delete target should count as success--ignore-missing
在任何命令后添加参数。等效于:。
--agent--json --compact --no-input --no-color --yes-
可管道传输 — 标准输出为JSON,错误输出到标准错误
-
可过滤 —保留字段子集。点路径可深入嵌套结构;数组会遍历每个元素。对于冗长的API,这是保持上下文精简的关键:
--selectbashx-twitter-pp-cli articles list --agent --select id,name,status -
可预览 —显示请求但不发送
--dry-run -
离线友好 — 同步/搜索命令在可用时可使用本地SQLite存储
-
非交互式 — 从不提示,所有输入均为标志参数
-
显式重试 — 仅当已存在的创建操作应视为成功时使用,仅当缺失的删除目标应视为成功时使用
--idempotent--ignore-missing
Response envelope
响应包
Commands that read from the local store or the API wrap output in a provenance envelope:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}Parse for data and to know whether it's live or local. A human-readable summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.
.results.meta.sourceN results (live)从本地存储或API读取数据的命令会将输出包装在来源包中:
json
{
"meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
"results": <data>
}解析获取数据,可了解数据是实时的还是本地的。仅当标准输出为终端时,才会向标准错误打印人类可读的摘要 — 管道/Agent消费者会在标准输出获得纯JSON。
.results.meta.sourceN results (live)Agent Feedback
Agent反馈
When you (or the agent) notice something off about this CLI, record it:
x-twitter-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
x-twitter-pp-cli feedback --stdin < notes.txt
x-twitter-pp-cli feedback list --json --limit 10Entries are stored locally at . They are never POSTed unless is set AND either is passed or . Default behavior is local-only.
~/.x-twitter-pp-cli/feedback.jsonlX_FEEDBACK_ENDPOINT--sendX_FEEDBACK_AUTO_SEND=trueWrite what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.
当您(或Agent)发现此CLI存在问题时,记录反馈:
x-twitter-pp-cli feedback "--since标志是包含性的,但文档说是排他性的"
x-twitter-pp-cli feedback --stdin < notes.txt
x-twitter-pp-cli feedback list --json --limit 10反馈条目存储在本地中。仅当设置了且传递了或时,才会POST反馈。默认行为仅存储在本地。
~/.x-twitter-pp-cli/feedback.jsonlX_FEEDBACK_ENDPOINT--sendX_FEEDBACK_AUTO_SEND=true写下让您感到意外的内容,而不是错误报告。简短、具体、单行:这才是有价值的部分。
Output Delivery
输出交付
Every command accepts . The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:
--deliver <sink>| Sink | Effect |
|---|---|
| Default; write to stdout only |
| Atomically write output to |
| POST the output body to the URL ( |
Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.
每个命令都支持参数。输出会发送到指定的接收器,同时(或替代)输出到标准输出,因此Agent无需手动管道即可路由命令结果。支持三种接收器:
--deliver <sink>| 接收器 | 效果 |
|---|---|
| 默认;仅写入标准输出 |
| 原子性地将输出写入 |
| 将输出主体POST到指定URL( |
未知的协议会被拒绝,并返回结构化错误,列出支持的协议集。Webhook失败会返回非零退出码,并在标准错误中记录URL和HTTP状态码。
Named Profiles
命名配置文件
A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.
x-twitter-pp-cli profile save briefing --json
x-twitter-pp-cli --profile briefing articles list
x-twitter-pp-cli profile list --json
x-twitter-pp-cli profile show briefing
x-twitter-pp-cli profile delete briefing --yesExplicit flags always win over profile values; profile values win over defaults. lists all available profiles under so introspecting agents discover them at runtime.
agent-contextavailable_profiles配置文件是一组保存的标志值,可在多次调用中复用。当调度Agent每次运行都使用相同配置调用同一命令时,可使用此功能 — 即HeyGen的“Beacon”模式。
x-twitter-pp-cli profile save briefing --json
x-twitter-pp-cli --profile briefing articles list
x-twitter-pp-cli profile list --json
x-twitter-pp-cli profile show briefing
x-twitter-pp-cli profile delete briefing --yes显式标志始终优先于配置文件值;配置文件值优先于默认值。会在下列出所有可用配置文件,以便内省Agent在运行时发现它们。
agent-contextavailable_profilesAsync Jobs
异步作业
For endpoints that submit long-running work, the generator detects the submit-then-poll pattern (a // field in the response plus a sibling status endpoint) and wires up three extra flags on the submitting command:
job_idtask_idoperation_id| Flag | Purpose |
|---|---|
| Block until the job reaches a terminal status instead of returning the job ID immediately |
| Maximum wait duration (default 10m, 0 means no timeout) |
| Initial poll interval (default 2s; grows with exponential backoff up to 30s) |
Use async submission without when you want to fire-and-forget; use when you want one command to return the finished artifact.
--wait--wait对于提交长时间运行任务的端点,生成器会检测提交-轮询模式(响应中包含//字段,且有对应的状态端点),并在提交命令上添加三个额外标志:
job_idtask_idoperation_id| 标志 | 用途 |
|---|---|
| 阻塞直到作业进入终端状态,而不是立即返回作业ID |
| 最大等待时长(默认10分钟,0表示无超时) |
| 初始轮询间隔(默认2秒;指数退避增长至最多30秒) |
当您想触发即忘时,使用不带的异步提交;当您希望一个命令返回完成的产物时,使用。
--wait--waitExit Codes
退出码
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found |
| 4 | Authentication required |
| 5 | API error (upstream issue) |
| 7 | Rate limited (wait and retry) |
| 10 | Config error |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 2 | 使用错误(参数错误) |
| 3 | 资源未找到 |
| 4 | 需要认证 |
| 5 | API错误(上游问题) |
| 7 | 速率限制(等待后重试) |
| 10 | 配置错误 |
Argument Parsing
参数解析
Parse :
$ARGUMENTS- Empty, , or
help→ show--helpoutputx-twitter-pp-cli --help - Starts with → ends with
install→ MCP installation; otherwise → see Prerequisites abovemcp - Anything else → Direct Use (execute as CLI command with )
--agent
解析:
$ARGUMENTS- 为空、或
help→ 显示--help输出x-twitter-pp-cli --help - 以开头 → 以
install结尾 → MCP安装;否则 → 参见上方的前提条件mcp - 其他情况 → 直接使用(以标志执行CLI命令)
--agent
MCP Server Installation
MCP服务器安装
- Install the MCP server:
bash
go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/x-twitter/cmd/x-twitter-pp-mcp@latest - Register with Claude Code:
bash
claude mcp add x-twitter-pp-mcp -- x-twitter-pp-mcp - Verify:
claude mcp list
- 安装MCP服务器:
bash
go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/x-twitter/cmd/x-twitter-pp-mcp@latest - 注册到Claude Code:
bash
claude mcp add x-twitter-pp-mcp -- x-twitter-pp-mcp - 验证:
claude mcp list
Direct Use
直接使用
- Check if installed: If not found, offer to install (see Prerequisites at the top of this skill).
which x-twitter-pp-cli - Match the user query to the best command from the Unique Capabilities and Command Reference above.
- Execute with the flag:
--agentbashx-twitter-pp-cli <command> [subcommand] [args] --agent - If ambiguous, drill into subcommand help: .
x-twitter-pp-cli <command> --help
- 检查是否已安装:如果未找到,提供安装选项(参见顶部的前提条件)。
which x-twitter-pp-cli - 将用户查询与上述独特功能和命令参考中最匹配的命令匹配。
- 使用标志执行:
--agentbashx-twitter-pp-cli <command> [subcommand] [args] --agent - 如果存在歧义,查看子命令帮助:。
x-twitter-pp-cli <command> --help
Hand-written notes (survive regen with printing-press regen-merge
)
printing-press regen-merge手写笔记(通过printing-press regen-merge
可在重新生成后保留)
printing-press regen-mergeAuth model — two sources
认证模型 — 两个来源
The X surface is split across two auth sources. The CLI selects per-host automatically.
Source A — OAuth 2.0 PKCE. Used for v2 endpoints (tweets, users, lists, spaces, bookmarks, likes, etc.). Standard CLI flow:
api.x.combash
x-twitter-pp-cli auth login # opens browser, captures token
export X_OAUTH2_USER_TOKEN=<token> # or set in config
x-twitter-pp-cli doctor # verifiesSource B — Browser session cookies. Used for Articles GraphQL endpoints and media upload. X's Articles editor is browser-only; OAuth 2.0 does NOT authenticate it. One-time capture:
x.comupload.x.com-
In Chrome, open DevTools onwhile logged in.
x.com -
Application → Cookies → x.com → copyand
auth_tokenvalues.ct0 -
Network → reload → click anyrequest → Request Headers → copy the
/i/api/graphql/...value (this is the web app's hardcoded bearer, NOT a user OAuth token).Authorization: Bearer ... -
Write to:
~/.config/x-twitter-pp-cli/cookies.jsonjson{ "auth_token": "<paste>", "ct0": "<paste>", "web_bearer": "<paste, without the 'Bearer ' prefix>", "captured_at": "2026-05-08T22:00:00Z" } -
.
chmod 600 ~/.config/x-twitter-pp-cli/cookies.json
When X invalidates the session (logout, security events, ~weeks of inactivity), commands return 401 — repeat the capture.
articles *Note: Chrome's "Save all as HAR with content" SILENTLY redacts cookies and the Authorization header. Do not try to extract them from a HAR — they will be missing. Use the DevTools Application/Network tabs above.
X的接口分为两个认证来源。CLI会自动按主机选择。
来源A — OAuth 2.0 PKCE。用于 v2端点(推文、用户、列表、Spaces、书签、点赞等)。标准CLI流程:
api.x.combash
x-twitter-pp-cli auth login # 打开浏览器,捕获令牌
export X_OAUTH2_USER_TOKEN=<token> # 或在配置中设置
x-twitter-pp-cli doctor # 验证来源B — 浏览器会话Cookie。用于文章GraphQL端点和媒体上传。X的文章编辑器仅支持浏览器;OAuth 2.0无法对其进行认证。需一次性捕获:
x.comupload.x.com-
在Chrome中,打开并登录,打开开发者工具。
x.com -
Application → Cookies → x.com → 复制和
auth_token的值。ct0 -
Network → 重新加载 → 点击任何请求 → Request Headers → 复制
/i/api/graphql/...的值(这是Web应用的硬编码Bearer令牌,不是用户OAuth令牌)。Authorization: Bearer ... -
将内容写入:
~/.config/x-twitter-pp-cli/cookies.jsonjson{ "auth_token": "<粘贴>", "ct0": "<粘贴>", "web_bearer": "<粘贴,不带'Bearer '前缀>", "captured_at": "2026-05-08T22:00:00Z" } -
。
chmod 600 ~/.config/x-twitter-pp-cli/cookies.json
当X使会话失效(登出、安全事件、约数周未活动)时,命令会返回401 — 重复捕获步骤。
articles *注意:Chrome的“保存所有内容为HAR”会静默删除Cookie和Authorization头。不要尝试从HAR中提取它们 — 它们会丢失。请使用上述开发者工具的Application/Network标签。
Articles GraphQL operation hashes — runtime config
文章GraphQL操作哈希 — 运行时配置
X Articles uses GraphQL with rotating operation hashes in the URL path (e.g. ). The hash rotates when X redeploys their web app.
/i/api/graphql/M7N2FrPrlOmu-YrVIBxFnQ/ArticleEntityUpdateContentHashes are loaded at runtime from . A default capture from generation time (2026-05-08) is built into the binary as fallback. When commands return 404 with "no such operation," refresh:
~/.config/x-twitter-pp-cli/article-ops.jsonarticles *-
Re-sniff the Articles editor with the printing-press tool, OR
-
Capture a HAR via DevTools Network (any Articles operation), then:bash
python3 -c " import json, re from sys import argv with open(argv[1]) as f: h = json.load(f) ops = {} for e in h['log']['entries']: g = re.search(r'/i/api/graphql/([A-Za-z0-9_-]+)/(Article[A-Za-z0-9_]+)', e['request']['url']) if g: ops[g.group(2)] = g.group(1) import os, datetime path = os.path.expanduser('~/.config/x-twitter-pp-cli/article-ops.json') with open(path, 'w') as f: json.dump({'operations': ops, 'captured_at': datetime.datetime.now().isoformat()}, f, indent=2) print(f'wrote {len(ops)} ops to {path}') " /path/to/your.har
X文章使用GraphQL,URL路径中包含轮换的操作哈希(例如)。当X重新部署其Web应用时,哈希会轮换。
/i/api/graphql/M7N2FrPrlOmu-YrVIBxFnQ/ArticleEntityUpdateContent哈希在运行时从加载。生成时(2026-05-08)的默认捕获内容内置在二进制文件中作为回退。当命令返回404并提示“no such operation”时,刷新哈希:
~/.config/x-twitter-pp-cli/article-ops.jsonarticles *-
使用printing-press工具重新嗅探文章编辑器,或者
-
通过开发者工具Network捕获HAR(任何文章操作),然后执行:bash
python3 -c " import json, re from sys import argv with open(argv[1]) as f: h = json.load(f) ops = {} for e in h['log']['entries']: g = re.search(r'/i/api/graphql/([A-Za-z0-9_-]+)/(Article[A-Za-z0-9_]+)', e['request']['url']) if g: ops[g.group(2)] = g.group(1) import os, datetime path = os.path.expanduser('~/.config/x-twitter-pp-cli/article-ops.json') with open(path, 'w') as f: json.dump({'operations': ops, 'captured_at': datetime.datetime.now().isoformat()}, f, indent=2) print(f'wrote {len(ops)} ops to {path}') " /path/to/your.har
Hand-written compound commands
手写复合命令
These are NOT auto-generated; they wrap multiple endpoints into single agent-friendly calls.
x-twitter-pp-cli thread compose <markdown-file>Splits a markdown document into a numbered tweet thread (≤280 chars per tweet, atom-aware: paragraphs, list items, code fences are atoms; never splits inside a code fence). The "(N/M)" suffix length is reserved BEFORE packing so final tweets stay within the limit. Default behavior is dry-run (preview); is gated and not yet wired.
--postbash
x-twitter-pp-cli thread compose draft.md # dry-run preview
x-twitter-pp-cli thread compose draft.md --post # (not yet wired — preview only)x-twitter-pp-cli articles-publish-md <markdown-file>Parses YAML frontmatter (, , , ) and converts the markdown body to Draft.js JSON — the format the X Articles editor server-side expects.
titlecovertagssummarycontent_stateSupported in v1: cover image from frontmatter (), body image lines (), paragraph, header-one (), header-two (), unordered-list-item (/), ordered-list-item (), blockquote (), fenced code blocks, inline and .
cover: ./cover.png###-*1.>**bold***italic*bash
undefined这些命令不是自动生成的;它们将多个端点包装为单个Agent友好的调用。
x-twitter-pp-cli thread compose <markdown-file>将Markdown文档拆分为带编号的推文线程(每条推文≤280字符,支持原子识别:段落、列表项、代码块为原子;绝不会在代码块内拆分)。在打包前会预留“(N/M)”后缀的长度,确保最终推文符合限制。默认行为是试运行(预览);功能尚未启用。
--postbash
x-twitter-pp-cli thread compose draft.md # 试运行预览
x-twitter-pp-cli thread compose draft.md --post # (尚未启用 — 仅预览)x-twitter-pp-cli articles-publish-md <markdown-file>解析YAML前置元数据(、、、)并将Markdown正文转换为Draft.js JSON格式 — 这是X文章编辑器服务器端期望的格式。
titlecovertagssummarycontent_statev1版本支持:前置元数据中的封面图片()、正文中的图片行()、段落、一级标题()、二级标题()、无序列表项(/)、有序列表项()、块引用()、代码块、行内和。
cover: ./cover.png###-*1.>**粗体***斜体*bash
undefinedMarkdown with frontmatter
带前置元数据的Markdown
cat > draft.md <<EOF
title: My Article cover: ./cover.png tags: [test]
cat > draft.md <<EOF
title: My Article cover: ./cover.png tags: [test]
Header
标题
A paragraph with bold text.

- bullet one
- bullet two
bash
x-twitter-pp-cli articles-publish-md draft.md --postEOF
x-twitter-pp-cli articles-publish-md draft.md # dry-run; prints constructed content_state JSON
x-twitter-pp-cli articles-publish-md draft.md --post # create, update, set cover, and publish the article
With `--post`, the command creates a draft, updates the title, uploads body images and binds them into the Draft.js `entity_map`, updates the content, uploads and assigns a cover image when `cover` is set, and publishes it as a public X Article using Source B cookie auth and the article-ops.json hash config. The wrapper requires a frontmatter `title`.
**`x-twitter-pp-cli articles set-cover <article-id> <image-file>`**
Uploads a local image through X's browser media-upload flow and assigns the returned media ID as the Article cover.一段包含粗体文本的段落。

- 项目符号一
- 项目符号二
bash
x-twitter-pp-cli articles-publish-md draft.md --postEOF
x-twitter-pp-cli articles-publish-md draft.md # 试运行;打印构造的content_state JSON
x-twitter-pp-cli articles-publish-md draft.md --post # 创建草稿、更新标题、上传正文图片并绑定到Draft.js 、更新内容、当设置时上传并分配封面图片,然后使用来源B的Cookie认证和article-ops.json哈希配置发布为公开X文章。此包装器需要前置元数据中的。
entity_mapcovertitle
**`x-twitter-pp-cli articles set-cover <article-id> <image-file>`**
通过X的浏览器媒体上传流程上传本地图片,并将返回的媒体ID分配为文章封面。Known limitations of v1
v1版本的已知限制
- is gated as a dry-run only. Real thread posting is the next engineering step.
thread compose --post - OAuth live acceptance is blocked until the registered callback setup is available.
- 仅支持试运行。实际推文线程发布是下一步工程任务。
thread compose --post - OAuth实时认证被阻止,直到注册回调设置可用。",