Skip to content

About

Crosspost and autopost from Dify: PostOnce tool plugin that publishes native posts to Instagram, TikTok, YouTube, LinkedIn, X, Facebook, Threads, Bluesky and Pinterest

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

PostOnce

Author: PostOnce Version: 0.1.0 Type: Tool plugin Source: https://github.com/postoncehq/dify-plugin Contact: nigel@postonce.to

Crosspost and autopost from Dify. PostOnce publishes one request as a native post on Instagram, TikTok, YouTube, LinkedIn, X, Facebook, Threads, Bluesky and Pinterest (plus Farcaster, Nostr and Telegram). Autopost workflows repost every new video from one account to the others.

This plugin lets Dify agents, chatflows and workflows crosspost text, images and videos to the accounts you connected in PostOnce, save drafts, check delivery per destination, and set up autopost workflows, with one PostOnce API key.

Tools

Tool What it does
List Accounts Lists connected accounts with the account IDs the other tools need
Crosspost Publishes one post to one or more accounts, now or at a set time, with optional media URLs
Create Draft Saves a post as a draft without publishing, to review later in PostOnce
Get Post Returns a post's status on every destination, with errors and links to the published posts
List Autopost Workflows Lists workflows that repost new posts from a source account to target accounts
Create Autopost Workflow Reposts every new post from one source account to one or more target accounts

Setup

  1. Create a PostOnce account at postonce.to and connect your social accounts in the dashboard.
  2. Create an API key at postonce.to/dashboard/preferences?tab=api-keys. Keys work on the free trial and every paid plan.
  3. In Dify, install the PostOnce plugin from the Marketplace, open Tools > PostOnce > Authorize, and paste the API key. The plugin checks the key with a read-only request that lists your accounts.

The plugin only needs outbound HTTPS access to https://postonce.to/api/public. It works on Dify Cloud and on self-hosted Dify (1.0.0 or later).

Usage

  • Agent: add the PostOnce tools to an Agent app and ask, for example, "Crosspost this video to my TikTok, Instagram and YouTube" or "Every time I post on TikTok, repost it to Instagram Reels and YouTube Shorts".
  • Workflow: call List Accounts once to get account IDs, then Crosspost with account_ids, content, optional media_urls and optional publish_at (ISO 8601, e.g. 2026-12-31T18:00:00Z). Pass the returned post id to Get Post to check delivery.
  • Review first: use Create Draft instead of Crosspost when someone should approve the post in PostOnce before it goes out.
  • Autopost: Create Autopost Workflow takes a source_account_id and target_account_ids. Only posts published after the workflow is created are reposted.

Crosspost publishes for real as your connected accounts (immediately, or at publish_at). Create Autopost Workflow keeps reposting until you pause or delete the workflow in PostOnce. Add a human review step in Dify when a post needs approval.

Media must be publicly reachable HTTP(S) URLs. URLs ending in .mp4, .mov, .m4v or .webm are sent as video, everything else as image. Instagram, TikTok, YouTube and Pinterest need media. Plan limits apply; see postonce.to/pricing.

Links

About

Crosspost and autopost from Dify: PostOnce tool plugin that publishes native posts to Instagram, TikTok, YouTube, LinkedIn, X, Facebook, Threads, Bluesky and Pinterest

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages