SDKs Overview
Every official FoPost client, what it covers, and how to pick one.
Every client here is a thin wrapper over the REST API. The platform APIs, formatting, media handling, retries, and scheduling all run on our side, so an SDK stays small and gains new networks without you upgrading anything.
Your app → SDK → api.fopost.com → the networksCloud clients
These talk to your FoPost account with an API key.
| Package | Language | Install |
|---|---|---|
@fopost/sdk | TypeScript, Node.js 18+ | npm install @fopost/sdk |
fopost | Python 3.10+ | pip install fopost |
fopost/sdk | PHP 8.1+ | composer require fopost/sdk |
fopost | Ruby 3.1+ | bundle add fopost |
fopost-go | Go 1.22+ | go get github.com/fopost/fopost-go |
fopost | Rust 1.85+ | cargo add fopost |
fopost-java | Java 17+ | com.fopost:fopost-java |
FoPost.Sdk | .NET 8+ | dotnet add package FoPost.Sdk |
FoPost | Swift 5.9+, iOS 15 / macOS 12 | SwiftPM, github.com/fopost/fopost-swift |
fopost-kotlin | Kotlin, JVM 11+ and Android 26+ | com.fopost:fopost-kotlin |
fopost | Dart 3.4+, Flutter | dart pub add fopost |
fopost | Elixir 1.15+ | {:fopost, "~> 0.1"} |
All of them are MIT licensed and open source. All are 0.x, so pin an exact version if a breaking minor would hurt.
Framework integrations
Each one wraps the client for its language and adds the wiring that framework expects: configuration, dependency injection, background jobs, console commands, and a signature-verified webhook endpoint. None of them adds to the API surface, so the language SDK's page stays the reference for resources and errors.
| Integration | For | Install |
|---|---|---|
| Laravel | Laravel 10, 11, 12 | composer require fopost/laravel |
| Symfony | Symfony 6.4 LTS, 7.x | composer require fopost/symfony-bundle |
| Rails | Rails 7.0+ | bundle add fopost-rails |
| Django | Django 4.2 to 5.2 | pip install fopost-django |
| FastAPI | FastAPI 0.110+ | pip install fopost-fastapi |
| Spring Boot | Spring Boot 3, Java 17 | com.fopost:fopost-spring-boot-starter |
| ASP.NET Core | .NET 8, .NET 9 | dotnet add package FoPost.AspNetCore |
| Next.js | Next 14, 15 | npm install @fopost/next |
| WordPress | WordPress 6.4+ | Plugin install |
| WooCommerce | WooCommerce 8.0+ | Plugin install |
Automation & tooling
For publishing from somewhere that is not your application code.
| Tool | For | Install |
|---|---|---|
| CLI | Your terminal and shell scripts | brew install fopost/tap/fopost |
| GitHub Action | A GitHub workflow | uses: fopost/fopost-github-action@v0 |
| Terraform Provider | Workspaces, labels, webhooks, automations as code | fopost/fopost |
| Zapier | Zapier Zaps | Private app |
| n8n | n8n workflows | n8n-nodes-fopost |
| Make | Make scenarios | Private app |
| Browser extension | Networks with no write API | Chrome Web Store |
@fopost/mcp | Any MCP client | npx -y @fopost/mcp |
Zapier and Make review custom apps by hand before they appear in a public directory, and both integrations are private apps until that happens. Their pages say how to install one today.
Another language
The REST API is plain JSON over HTTPS with one header, so a language with no official client is still one request away:
curl -X POST https://api.fopost.com/v1/posts \
-H "X-API-Key: $FOPOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workspace_id": "7d2b8c11-4e5a-4a8f-b0d9-3c5e6f7a8b90",
"accounts": ["3a9f1d20-6c77-4b2e-9a01-8f5d2c3b4e10"],
"content": [{ "text": "Hello from anywhere." }]
}'The OpenAPI spec generates a usable client in most languages. If you want an official one for a language that is missing, tell us which; demand is how the order gets decided.
Not the self-hosted library
There is a separate, free PHP library that talks to each network from your own server with your own app credentials. It is not part of the Cloud and is documented in its own repository; everything on this page publishes through your FoPost account instead.
Next
Related documentation
- SDKs & Integrations
Official FoPost clients for TypeScript, Python, PHP, Ruby, Go, Rust, Java, .NET, Swift, Kotlin, Dart, and Elixir, framework integrations from Laravel to Next.js, and tooling for the CLI, CI, Terraform, and the automation platforms.
- TypeScript SDK
The official TypeScript and Node.js client for the FoPost API.
- Python SDK
The official Python client for the FoPost API.
- PHP SDK
The official PHP client for the FoPost API, with no framework and no HTTP library.
- Ruby SDK
The official Ruby client for the FoPost API, with no runtime dependencies.
- Go SDK
The official Go client for the FoPost API.
- Rust SDK
The official Rust client for the FoPost API, async and built on reqwest.
- Java SDK
The official Java client for the FoPost API, on the JDK's own HTTP client.