Settings
Meta app credentials, AI keys, and how to connect owned Instagram pages.
API controls
Master switches. Off blocks live calls everywhere — local data stays readable.
External API
On: live RapidAPI scrape for profiles, campaigns, trends, and inspiration.
Meta API
Official Graph API: connect owned pages and publish.
RapidAPI usage
Live Instagram Scraper calls this calendar month (IST). Mocked requests are not counted. The used total resets on the 1st.
Loading usage…
Meta Developer setup
Official Graph API only. Until App Review, only Facebook users listed as app Admin / Developer / Tester can connect.
- Convert each destination Instagram account to Professional (Business or Creator) in the Instagram app. A Facebook Page is optional.
- Create a Business type app at developers.facebook.com. Add the Instagram product (API setup with Instagram login). Copy the Instagram App ID and Instagram App Secret from that page — not the Facebook App ID under Settings → Basic. Using the Facebook ID causes “Invalid platform app”.
- Instagram → API setup with Instagram login → Business login settings → OAuth redirect URIs (not Facebook Login). Paste
http://localhost:3000/api/meta/ig-oauth/callbackexactly. If Meta appends a trailing slash, setMETA_IG_REDIRECT_URIto that slashed URL. Optional Facebook Login URI:http://localhost:3000/api/meta/oauth/callback. - Instagram Login permissions:
instagram_business_basic,instagram_business_content_publish,instagram_business_manage_insights. - Optional — for accounts already linked to a Facebook Page, keep Facebook Login for Business and permissions
pages_show_list,pages_manage_posts,instagram_content_publish. - App Dashboard → Roles: add Instagram testers (Instagram Tester, not only Facebook Tester). They must accept the invite in Instagram → Settings → Apps and websites. Paste
META_IG_APP_ID,META_IG_APP_SECRET,META_APP_ID,META_APP_SECRET, andMETA_IG_REDIRECT_URIinto.env.local, then restartnpm run dev. Instagram Login Reels needPUBLIC_BASE_URL(HTTPS tunnel). - Tokens last ~60 days — reconnect from Pages → Connect when a card shows expiry. App Review is required before non-role users can use the app Live.
- Graph publishing is capped around 50 posts / IG account / 24h. FrameLab defaults to 8/day per page.
AI generation keys
Required for autopilot media (captions can fall back without a key).
GEMINI_API_KEY — required for captions, stills, and Reels. Reels use Veo 3.1 (veo-3.1-generate-preview) as one continuous 9:16 take with native diegetic audio (8s generate, then extend). Stills use gemini-2.5-flash-image. Key is from Google AI Studio (Gemini API, not Vertex). Veo needs pay-as-you-go billing — the free Gemini chat quota does not include Veo and will return 429. Captions and stills fall back to OpenAI when Gemini is rate-limited.
GEMINI_VEO_MODEL — optional (default veo-3.1-generate-preview).
OPENAI_API_KEY — fallback captions and stills if Gemini is unavailable.
FAL_KEY — optional Flux stills fallback.