.NET SDKSocial media SDK
Social media SDK
for .NET
Post, schedule, reply and report on 13 platforms from C#, fully async on .NET 8.
Install in one lineFrom NuGet, for .NET 8. The source is on GitHub under MIT.dotnet add package OmniSocials
Modern .NET, no baggagenet8.0 target, System.Text.Json serialization, and one reusable HttpClient managed for you. Fully async from top to bottom.net8.0
Typed params, clean exceptionsPOCO param classes with null properties omitted automatically, and a typed exception hierarchy including RateLimitException with RetryAfter.RateLimitException
Fits the .NET stack you use
The same client in Minimal API and Console. Each example schedules a post from your own code.
Minimal API~/released
1using OmniSocials;
2
3var builder = WebApplication.CreateBuilder(args);
4var app = builder.Build();
5
6var client = new OmniSocialsClient(); // reads OMNISOCIALS_API_KEY
7
8app.MapPost("/launch", async () =>
9{
10 var post = await client.Posts.CreateAsync(new PostCreateParams
11 {
12 Content = "Launch day is here",
13 Channels = new[] { "instagram", "linkedin", "x" },
14 ScheduledAt = "2026-11-03T09:00:00Z",
15 });
16 return Results.Json(post!.Value.GetProperty("data"));
17});
18
19app.Run();
One client for the whole API
Posts, media, the inbox, analytics and webhooks sit on the same client, with the same names in every language.
Retries, errors and webhook checks built in
All eight follow one design. They retry what fails for a moment, raise a clear error for the rest and check every webhook signature.
Automatic retriesRate limits, server errors and dropped connections retry with backoff. Retry-After is respected.2 retries by default
Errors you can catchOne class per failure: authentication, validation, not found, rate limit, server and connection.RateLimitException
Timeouts you setSet the timeout, the retry count and the base URL per client. The defaults fit most apps.30 s per attempt
Webhook checksHMAC-SHA256 with a constant-time compare and a 5-minute replay window.WebhookSignature.Verify()
The .NET package
Released with the other seven SDKs from one changelog. Need another language? See all eight on the SDK page.
All SDKs- Package
OmniSocials- Install
- Version
- 0.9.0Released Oct 5, 2026
- Requires
- .NET 8
- Dependencies
- System.Net.Http and System.Text.Json
- Client
new OmniSocialsClient()- Responses
- JsonElement
- Webhooks
WebhookSignature.Verify()- Source
- OmniSocials/omnisocials-dotnet MIT license
Frequently
Asked Questions
Robert LigthartFounder of OmniSocials
Install it.Post today.
The SDKs, the API, the CLI and the MCP server come with every plan: $10 per seat per month, billed annually.






