Social Integrations (si social)
si social provides unified command families for:
- Facebook Graph API
- Instagram Graph API
- X (Twitter API v2)
- LinkedIn API
- Reddit API
Command Surface
auth status: verifies credentials against a lightweight probe endpoint.context list|current|use: list/select defaults in~/.si/settings.toml.doctor: runs health checks for auth + runtime config.raw: direct API calls (--method,--path,--param,--body).report usage|errors: local log summaries from~/.si/logs/social-<platform>.log.--auth-style noneallows unauthenticated/public endpoint probes.
Credential Resolution
Per-account prefix:SOCIAL_<ACCOUNT>_...(or customvault_prefixin settings)
- Facebook:
FACEBOOK_ACCESS_TOKEN - Instagram:
INSTAGRAM_ACCESS_TOKEN - X:
X_BEARER_TOKEN(orX_ACCESS_TOKEN) - LinkedIn:
LINKEDIN_ACCESS_TOKEN - Reddit:
REDDIT_ACCESS_TOKEN
FACEBOOK_ACCESS_TOKENINSTAGRAM_ACCESS_TOKENX_BEARER_TOKEN/TWITTER_BEARER_TOKENLINKEDIN_ACCESS_TOKENREDDIT_ACCESS_TOKEN
FACEBOOK_PAGE_IDINSTAGRAM_BUSINESS_IDX_USER_ID,X_USERNAMELINKEDIN_PERSON_URN,LINKEDIN_ORGANIZATION_URNREDDIT_USERNAME
Settings Model
Settings live under[social]:
Characteristics + Scalability
- Default API version/base/auth/rate lives in Go specs (
internal/providers). - API calls run through provider admission checks (token bucket).
- Runtime feedback (
429,Retry-After,X-RateLimit-*) adapts pacing dynamically.
