OptionalbrowserProfile?: Partial<BrowserProfile>Override the browser profile used for Castle.io fingerprint token generation. Unspecified fields are randomized from realistic value pools. Set this if you want a consistent fingerprint or need to match specific hardware.
OptionalflowStepDelay?: numberDelay in milliseconds between login flow steps, to mimic human-like timing. Without a delay, Twitter may flag rapid-fire requests as bot activity (error 399). Set to 0 to disable. Default is 1-3 seconds (average ~2s) with random jitter.
Enables the generation of the x-client-transaction-id header on requests. This may resolve some errors.
Enables the generation of the x-xp-forwarded-for header on requests. This may resolve some errors.
An alternative fetch function to use instead of the default fetch function. This may be useful in nonstandard runtime environments, such as edge workers.
Optionalinit: RequestInitOptionalinit: RequestInitA handling strategy for rate limits (HTTP 429).
Additional options that control how requests and responses are processed. This can be used to proxy requests through other hosts, for example.
Experimental features that may be added, changed, or removed at any time. Use with caution.