Plan and publish IG · FB · GMB on the PEAR cadence.
Route: `/calendar` — primary planning surface for PEAR social.
scheduledAt <= nowCreate form defaults to the next Mon / Wed / Fri at 11:00a America/Phoenix (Phoenix is UTC−7 year-round, no DST).
GET/POST /api/calendarPATCH /api/calendar/[id]POST /api/calendar/[id]/publishPOST /api/calendar/publish-due (also hourly cron on Vercel when configured)| Mode | Behavior |
|---|---|
| Demo (no Meta/Google keys or no linked account) | Marks published locally, logs stubs, stores demo-* external ids |
| Live | Meta Graph for IG/FB; GMB Local Posts stub when account/location ids set |
Instagram feed publish requires a media URL. Text-only IG posts will fail live — use an image from Media / Social Builder.