Skip to main content
Use the C# SDK when you want typed request objects, async/await support, retries, and pagination helpers for TwexAPI REST workflows in .NET services and worker applications.

Install

NuGet publication is pending. Install from GitHub source until it is published:
Source: twexapi-dev/x-api-scraper-csharp

Authenticate

Basic example

Look up a profile and list followers:

Workflow: search tweets

Workflow: post a tweet

Write actions need a Twitter cookie or auth_token on the request:

Error handling

The SDK throws XapiScraper.Models.Errors.APIException for HTTP failures. Inspect StatusCode and Body before retrying 4xx responses.

References