Settings
R2 Media Storage
Upload images and videos to Cloudflare R2 CDN instead of storing them in the browser. Files are permanently accessible via URL — no size limits, works across all team members. Set this up once per deployment.

See worker-r2-addition.js for setup instructions.
Meta API credentials
Used for Facebook scheduling and Instagram posting. Stored in your browser — never sent anywhere except directly to api.facebook.com via the server proxy.

App ID: 3189872814547386 (Facebook) · 2418509815287861 (Instagram)
How to get your tokens
Follow these steps in Meta's developer tools to get a long-lived Page Access Token.
1
Go to developers.facebook.com/tools/explorer and select your Socialee app
2
Add permissions: pages_manage_posts, pages_read_engagement, instagram_basic, instagram_content_publish
3
Click Generate Access Token — this is a short-lived token. Exchange it for a long-lived one (60 days) using: https://graph.facebook.com/oauth/access_token?grant_type=fb_exchange_token&client_id={APP_ID}&client_secret={SECRET}&fb_exchange_token={SHORT_TOKEN}
4
Page ID: Facebook Page Settings → About → Page transparency
5
Instagram Business Account ID: Meta Business Suite → Accounts → Instagram accounts