Java SDKSocial media SDK
Social media SDK
for Java
Post, schedule, reply and report on 13 platforms from Java 11 or later, with Jackson as the only dependency.
Build it from GitHubNot on Maven Central yet: clone the v0.9.0 tag and run mvn install. Java 11 or later.git clone -b v0.9.0 https://github.com/OmniSocials/omnisocials-java
Java 11+, one dependencyBuilt on the JDK HttpClient with jackson-databind for JSON. Drops into Spring Boot, Quarkus or plain Java without a framework opinion.jackson-databind
Fluent and predictableOmniSocials.fromEnv() or a builder for explicit config, Params.builder() for request bodies, JsonNode responses you can walk or map.Params.builder()
Fits the Java stack you use
The same client in Spring Boot and Quarkus. Each example schedules a post from your own code.
Spring Boot~/released
1import com.omnisocials.OmniSocials;
2import com.omnisocials.Params;
3import com.fasterxml.jackson.databind.JsonNode;
4import org.springframework.web.bind.annotation.*;
5import java.util.List;
6
7@RestController
8public class LaunchController {
9
10 private final OmniSocials client = OmniSocials.fromEnv();
11
12 @PostMapping("/launch")
13 public JsonNode launch(@RequestBody String content) {
14 return client.posts().create(Params.builder()
15 .put("content", content)
16 .put("channels", List.of("instagram", "linkedin", "x"))
17 .put("scheduled_at", "2026-11-03T09:00:00Z")
18 .build());
19 }
20}
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.Webhooks.verifySignature()
The Java package
Released with the other seven SDKs from one changelog. Need another language? See all eight on the SDK page.
All SDKs- Package
com.omnisocials:omnisocials-java- Install
- Version
- 0.9.0Released Oct 5, 2026
- Requires
- Java 11 or later
- Dependencies
- Jackson only
- Client
OmniSocials.fromEnv()- Responses
- Jackson JsonNode
- Webhooks
Webhooks.verifySignature()- Source
- OmniSocials/omnisocials-java 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.






