Table of Contents

Class Constants

Namespace
Twikit
Assembly
Twikit.dll

ライブラリ全体で共有する定数。公開 Bearer トークン、ホスト名、 GraphQL の各ドキュメントが要求する機能フラグ(features)のセットを収めています。

public static class Constants
Inheritance
Constants
Inherited Members

Fields

AudioSpaceFeatures

AudioSpaceById クエリが要求する機能フラグ。Web クライアントは標準セットに 加えて spaces_2022_h2_* の 2 つを固定で送ります。

public static readonly JsonObject AudioSpaceFeatures

Field Value

JsonObject

BirdwatchAuthenticatedProfileFeatures

public static readonly JsonObject BirdwatchAuthenticatedProfileFeatures

Field Value

JsonObject

BirdwatchContributorNotesFeatures

public static readonly JsonObject BirdwatchContributorNotesFeatures

Field Value

JsonObject

BirdwatchGlobalTimelineFeatures

public static readonly JsonObject BirdwatchGlobalTimelineFeatures

Field Value

JsonObject

BirdwatchNotesFeatures

public static readonly JsonObject BirdwatchNotesFeatures

Field Value

JsonObject

BirdwatchProfileFeatures

public static readonly JsonObject BirdwatchProfileFeatures

Field Value

JsonObject

BookmarkFolderTimelineFeatures

public static readonly JsonObject BookmarkFolderTimelineFeatures

Field Value

JsonObject

CommunityNoteFeatures

public static readonly JsonObject CommunityNoteFeatures

Field Value

JsonObject

CommunityTweetsFeatures

public static readonly JsonObject CommunityTweetsFeatures

Field Value

JsonObject

CookieDomains

クライアントが認証に使うホスト。ui_metrics は意図的に twitter.com に 留まっているため、x.com だけに固定した Cookie では届きません。 ログイン済みクライアントとゲストクライアントで食い違わないよう共有しています。

public static readonly string[] CookieDomains

Field Value

string[]

CreateListFeatures

2026-07-28 に Web クライアントから採取。リストの「管理」系操作はこの短い セットを取り、リストの「タイムライン」系操作は長いツイートタイムライン用の セットを取ります。

public static readonly JsonObject CreateListFeatures

Field Value

JsonObject

Domain

public const string Domain = "x.com"

Field Value

string

ExplorePageFeatures

public static readonly JsonObject ExplorePageFeatures

Field Value

JsonObject

Features

public static readonly JsonObject Features

Field Value

JsonObject

GenericTimelineFeatures

public static readonly JsonObject GenericTimelineFeatures

Field Value

JsonObject

JoinCommunityFeatures

public static readonly JsonObject JoinCommunityFeatures

Field Value

JsonObject

ListFeatures

public static readonly JsonObject ListFeatures

Field Value

JsonObject

NoteTweetFeatures

public static readonly JsonObject NoteTweetFeatures

Field Value

JsonObject

SearchTimelineFeatures

public static readonly JsonObject SearchTimelineFeatures

Field Value

JsonObject

SimilarPostsFeatures

public static readonly JsonObject SimilarPostsFeatures

Field Value

JsonObject

TimelineIds

GenericTimelineById が返すトレンドカテゴリのタイムライン ID。

public static readonly IReadOnlyDictionary<string, string> TimelineIds

Field Value

IReadOnlyDictionary<string, string>

Token

全アカウント共通の Bearer トークン。変更する必要はありません。

public const string Token = "AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA"

Field Value

string

TweetResultByRestIdFeatures

public static readonly JsonObject TweetResultByRestIdFeatures

Field Value

JsonObject

TweetResultsByRestIdsFeatures

public static readonly JsonObject TweetResultsByRestIdsFeatures

Field Value

JsonObject

UserFeatures

public static readonly JsonObject UserFeatures

Field Value

JsonObject

UserHighlightsTweetsFeatures

public static readonly JsonObject UserHighlightsTweetsFeatures

Field Value

JsonObject

Methods

Copy(JsonObject)

機能フラグセットの新しいコピーを返します(JsonNode は親を 1 つしか持てないため)。

public static JsonObject Copy(JsonObject features)

Parameters

features JsonObject

Returns

JsonObject