Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use XTwitterScraper when a .NET application needs typed access to Xquik's X automation REST API for tweet search, user lookup, posting workflows, extraction jobs, monitors, webhooks, or giveaway draws. USE FOR: integrating the XTwitterScraper NuGet package; reviewing Xquik API client usage; modeling API-key configuration, pagination, binary exports, raw responses, retries, and webhook/event flows in .NET. DO NOT USE FOR: unrelated stacks; direct browser automation; generic social-media strategy;
.claude/skills/managedcode-xtwitter-scraper/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -1% | 0% |
XTwitterScraper NuGet package to a .NET applicationbash dotnet add package XTwitterScraper
X_TWITTER_SCRAPER_API_KEY; keep X_TWITTER_SCRAPER_BASE_URL at its default unless a test fixture intentionally overrides it.XTwitterScraperClient at the composition boundary and inject it or a narrow wrapper into application services. Do not scatter client construction across handlers.Params objects for SDK calls instead of manually concatenating query strings.XTwitterScraperRateLimitException, authorization errors, and 5xx errors only where the application can retry, defer, or show a useful state.mermaidflowchart LR A["ASP.NET Core or worker service"] --> B["Application wrapper"] B --> C["XTwitterScraperClient"] C --> D["Xquik REST API"] D --> E["Typed response models"] D --> F["Webhook events"] D --> G["Binary exports"]
XTwitterScraperClient reads X_TWITTER_SCRAPER_API_KEY, X_TWITTER_SCRAPER_BEARER_TOKEN, and X_TWITTER_SCRAPER_BASE_URL from the environment, and can also be configured manually.https://xquik.com/api/v1.Params classes, such as TweetSearchParams, and return typed response models such as paginated tweets.HttpResponse; copy the stream deliberately instead of assuming JSON deserialization.WithRawResponse when code needs status, headers, or raw body inspection.WithOptions can override client options for one call without mutating the original client or service.| If you need | Default approach | Why | |---|---|---| | Tweet search or user lookup | Use typed SDK methods and Params classes | Keeps request shape explicit | | Application-wide client usage | Register one wrapper around XTwitterScraperClient | Keeps auth and options centralized | | One-off option override | Use WithOptions | Avoids mutating shared client state | | Headers or status inspection | Use WithRawResponse | Keeps normal typed flow clean | | Extraction result download | Treat response as a stream | Avoids accidental JSON assumptions | | Webhook handling | Map events to application commands or queue messages | Keeps delivery separate from business processing |
Exception catches.BaseUrl globally in production code when only tests need a custom endpoint.XTwitterScraperdotnet restore resolves XTwitterScraperdotnet build succeeds without leaking credential values into source or logsOther measured skills in the registry, with their headline benchmark lift.