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 networks

Cloud clients

These talk to your FoPost account with an API key.

PackageLanguageInstall
@fopost/sdkTypeScript, Node.js 18+npm install @fopost/sdk
fopostPython 3.10+pip install fopost
fopost/sdkPHP 8.1+composer require fopost/sdk
fopostRuby 3.1+bundle add fopost
fopost-goGo 1.22+go get github.com/fopost/fopost-go
fopostRust 1.85+cargo add fopost
fopost-javaJava 17+com.fopost:fopost-java
FoPost.Sdk.NET 8+dotnet add package FoPost.Sdk
FoPostSwift 5.9+, iOS 15 / macOS 12SwiftPM, github.com/fopost/fopost-swift
fopost-kotlinKotlin, JVM 11+ and Android 26+com.fopost:fopost-kotlin
fopostDart 3.4+, Flutterdart pub add fopost
fopostElixir 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.

IntegrationForInstall
LaravelLaravel 10, 11, 12composer require fopost/laravel
SymfonySymfony 6.4 LTS, 7.xcomposer require fopost/symfony-bundle
RailsRails 7.0+bundle add fopost-rails
DjangoDjango 4.2 to 5.2pip install fopost-django
FastAPIFastAPI 0.110+pip install fopost-fastapi
Spring BootSpring Boot 3, Java 17com.fopost:fopost-spring-boot-starter
ASP.NET Core.NET 8, .NET 9dotnet add package FoPost.AspNetCore
Next.jsNext 14, 15npm install @fopost/next
WordPressWordPress 6.4+Plugin install
WooCommerceWooCommerce 8.0+Plugin install

Automation & tooling

For publishing from somewhere that is not your application code.

ToolForInstall
CLIYour terminal and shell scriptsbrew install fopost/tap/fopost
GitHub ActionA GitHub workflowuses: fopost/fopost-github-action@v0
Terraform ProviderWorkspaces, labels, webhooks, automations as codefopost/fopost
ZapierZapier ZapsPrivate app
n8nn8n workflowsn8n-nodes-fopost
MakeMake scenariosPrivate app
Browser extensionNetworks with no write APIChrome Web Store
@fopost/mcpAny MCP clientnpx -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.

Was this helpful?

On this page