SKILL

x-api

ツイートの投稿、スレッド、タイムラインの読み取り、検索、分析のためのX/Twitter API統合。OAuth認証パターン、レートリミット、プラットフォームネイティブなコンテンツ投稿をカバーする。ユーザーがプログラムでXと対話したい場合に使用する。

Original · translation is not supported for this source language

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Japanese text

Topics in the source

  • X API
  • 有効化する場面
  • 認証
  • OAuth 2.0 Bearerトークン(アプリのみ)
  • OAuth 1.0a(ユーザーコンテキスト)
  • コア操作
  • ツイートを1件投稿する
  • スレッドを投稿する

投稿、読み取り、検索、分析のためにX(Twitter)とプログラムで対話する。 ユーザーがプログラムでツイートやスレッドを投稿したい Xのタイムライン、メンション、またはユーザーデータを読み取る X上でコンテンツ、トレンド、または会話を検索する X統合またはボットを構築する 分析とエンゲージメント追跡 ユーザーが「Xに投稿する」「ツイートする」「X API」または「Twitter API」と言及している 最適な用途:読み取り集中の操作、検索、公開データ。 以下に必要:ツイートの投稿、アカウント管理、DM。 X APIのレートリミットはエンドポイント、認証方法、アカウントティアによって異なり、時間とともに変化する。常に: ハードコードされた仮定を立てる前に現在のX開発者ドキュメントを確認する 実行時に x-rate-limit-remaining と x-rate-limit-reset ヘッダーを読み取る コード内の静的テーブルに頼らず、自動的にバックオフする トークンをハードコードしない。 環境変数または .env ファイルを使用する。 .env ファイルをコミットしない。 .gitignore に追加する。 トークンが漏洩した場合はローテーションする。 developer.x.comで再生成する。 書き込み権限が不要な場合は読み取り専用トークンを使用する。 OAuthシークレットを安全に保管する — ソースコードやログに保存しない。 content-engine スキルを使用してプラットフォームネイティブなコンテンツを生成し、X API経由で投稿する: 1. コンテンツエンジンを使用してコンテンツを生成する(Xプラットフォームフォーマット) 2. 長さを検証する(ツイート1件あたり280文字) 3. 上記のパターンを使用してX API経由で投稿する 4. public\metricsでエンゲージメントを追跡する content-engine — X向けのプラットフォームネイティブコンテンツを生成する crosspost — X、LinkedIn、その他のプラットフォームでコンテンツを配信する

Source repository
affaan-m/ECC
Source file
docs/ja-JP/skills/x-api/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:49.811Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.