Post for Me
Configure Post for Me with server credentials, account-scoped publishing, feed analytics, and shared-secret webhooks.
Post for Me is an optional managed backend with its own connected-account records and lifecycle semantics.
import { createSocial } from "@opencoredev/social-sdk";
import { postForMe } from "@opencoredev/social-sdk/cloud/post-for-me";
const social = createSocial({ backend: postForMe({ apiKey: process.env.POST_FOR_ME_API_KEY! }) });
const accounts = await social.accounts.list({
backend: "default",
authorization: { tenantId: "tenant-from-session" },
});
The adapter supports account listing, publishing, post reads and status, media upload, feed-based post analytics, and verified webhooks. Comments and normalized messaging are unavailable in this adapter. Verify the Post-For-Me-Webhook-Secret header with your endpoint secret; this shared-secret check authenticates the header and does not authenticate the body. Resolve accounts to tenants, quarantine unknown mappings, and process accepted events durably. See events and capabilities.