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
BirdwatchAuthenticatedProfileFeatures
public static readonly JsonObject BirdwatchAuthenticatedProfileFeatures
Field Value
BirdwatchContributorNotesFeatures
public static readonly JsonObject BirdwatchContributorNotesFeatures
Field Value
BirdwatchGlobalTimelineFeatures
public static readonly JsonObject BirdwatchGlobalTimelineFeatures
Field Value
BirdwatchNotesFeatures
public static readonly JsonObject BirdwatchNotesFeatures
Field Value
BirdwatchProfileFeatures
public static readonly JsonObject BirdwatchProfileFeatures
Field Value
BookmarkFolderTimelineFeatures
public static readonly JsonObject BookmarkFolderTimelineFeatures
Field Value
CommunityNoteFeatures
public static readonly JsonObject CommunityNoteFeatures
Field Value
CommunityTweetsFeatures
public static readonly JsonObject CommunityTweetsFeatures
Field Value
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
Domain
public const string Domain = "x.com"
Field Value
ExplorePageFeatures
public static readonly JsonObject ExplorePageFeatures
Field Value
Features
public static readonly JsonObject Features
Field Value
GenericTimelineFeatures
public static readonly JsonObject GenericTimelineFeatures
Field Value
JoinCommunityFeatures
public static readonly JsonObject JoinCommunityFeatures
Field Value
ListFeatures
public static readonly JsonObject ListFeatures
Field Value
NoteTweetFeatures
public static readonly JsonObject NoteTweetFeatures
Field Value
SearchTimelineFeatures
public static readonly JsonObject SearchTimelineFeatures
Field Value
SimilarPostsFeatures
public static readonly JsonObject SimilarPostsFeatures
Field Value
TimelineIds
GenericTimelineById が返すトレンドカテゴリのタイムライン ID。
public static readonly IReadOnlyDictionary<string, string> TimelineIds
Field Value
Token
全アカウント共通の Bearer トークン。変更する必要はありません。
public const string Token = "AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA"
Field Value
TweetResultByRestIdFeatures
public static readonly JsonObject TweetResultByRestIdFeatures
Field Value
TweetResultsByRestIdsFeatures
public static readonly JsonObject TweetResultsByRestIdsFeatures
Field Value
UserFeatures
public static readonly JsonObject UserFeatures
Field Value
UserHighlightsTweetsFeatures
public static readonly JsonObject UserHighlightsTweetsFeatures
Field Value
Methods
Copy(JsonObject)
機能フラグセットの新しいコピーを返します(JsonNode は親を 1 つしか持てないため)。
public static JsonObject Copy(JsonObject features)
Parameters
featuresJsonObject