Skip to main content

@latimer-woods-tech/social

Schedule and publish social posts across Twitter/X, LinkedIn, and Instagram. Depends on @latimer-woods-tech/content.

Installation

Secrets required

API

schedulePost(db, opts)

Persists a post to the social_posts table for later publishing.

publishPost(post, credentials)

Immediately publishes a SocialPost to the target platform.

getScheduledPosts(db, opts)

Returns posts pending publication within a time window.

CREATE_SOCIAL_POSTS_TABLE

DDL constant to create the backing table.

Example