Skip to content

Social Platform Extensions

Fresh

Source: BIBLE.md (Phase 7-9 social engagement plugins, platform-factory)

18 platform adapters built from one factory (_social/platform-factory.mjs). Each adapter exposes a uniform interface: login, post, comment, like, follow, execute, plus routes.

Platform list

PlatformModuleNotes
Redditreddit-extensionKarma warming (cold/lukewarm/warm), subreddit discovery, post types
LinkedInlinkedin-extensionPosts, articles, images, polls, connections
Facebookfacebook-extensionPage management, post scheduling, audience insights
Instagraminstagram-extensionStories (24h), reels, feed, carousel, hashtag auto-expand
Twittertwitter-extensionTweets, threads, 280-char validation, bookmarks, quote tweets
YouTubeyoutube-extensionVideos, playlists, privacy levels, subscriber tracking
TikToktiktok-extensionEngagement
Pinterestpinterest-extensionEngagement
Mediummedium-extensionEngagement
Tumblrtumblr-extensionEngagement
Snapchatsnapchat-extensionEngagement
Quoraquora-extensionAnswer posting with link embedding, question discovery
Discorddiscord-extensionServers, channels, webhooks, rich embeds
Rumblerumble-extensionEngagement
Vimeovimeo-extensionEngagement
BBBbbb-extensionReviews, engagement
Trustpilottrustpilot-extensionReviews, engagement
Yelpyelp-extensionReviews, engagement

Platform factory

plugins/_social/platform-factory.mjs (~277 lines):

javascript
import { createPlatformPlugin } from '../_social/platform-factory.mjs';
import { config } from './platforms/reddit.mjs';

const reddit = createPlatformPlugin(config);
export const { login, post, comment, like, follow, execute, routes } = reddit;

Each config specifies:

  • Rate limits per action type
  • Risk thresholds for Smart Gate
  • Default mode (ghost/hybrid/speed)
  • Specific URL patterns

Routes

Uniform per platform. Examples for Reddit:

MethodRoute
POST/social/reddit/login
POST/social/reddit/post
POST/social/reddit/comment
POST/social/reddit/like
POST/social/reddit/follow
POST/social/reddit/execute

Plus the dispatcher:

MethodRoute
POST/social/action
GET/social/platforms

social-engine plugin

Routes social actions to the right platform-factory instance. Imports all 18 platform configs and caches created plugins.

bash
# Generic dispatcher
curl -X POST http://localhost:4700/social/action \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "reddit",
    "action": "post",
    "accountId": "abc123",
    "content": "Post body...",
    "subreddit": "DallasJunkRemoval"
  }'

# Or platform-specific
curl -X POST http://localhost:4700/social/reddit/post \
  -H "Content-Type: application/json" \
  -d '{ "accountId": "abc123", "content": "...", "subreddit": "DallasJunkRemoval" }'

Per-platform daily limits

Examples (set in each platform config):

PlatformLikes/dayComments/dayPosts/day
Twitter3005020
Instagram200305
Reddit100203
LinkedIn100305
Facebook2004010

Enforced by social-engagement plugin.

Mode defaults per platform

ghost:  reddit, linkedin, facebook, instagram, twitter, nextdoor
hybrid: yelp, substack, gmail
speed:  youtube, google