Social Media Hub
Central command for cookingwithtbeckett.com — platform setup, automation, content strategy, and brand kit.
3-Phase Action Plan
X (Twitter) free API + Ayrshare trial — fastest way to start posting recipes
Instagram Graph API, Pinterest API, socialPost backend function + scheduled automation
TikTok video API, YouTube Data API v3, admin post composer with AI caption generation
Suggested Approach
The posts will position Upgrade My Meal as the tool food influencers and home cooks have been waiting for — showing how uploading a photo of raw ingredients instantly generates a recipe and a polished, share-ready dish image, with a Facebook-optimized export built right in. We'll highlight the time it saves creators, the quality of the visuals, and how it removes every friction point between "I have ingredients" and "I have content." We'll post on Instagram, TikTok, and Facebook.
One API key posts to 13+ platforms simultaneously. Perfect for Upgrade My Meal.ayrshare.com
// functions/socialPost.js (Deno)
import SocialPost from 'npm:social-media-api';
const social = new SocialPost(Deno.env.get('AYRSHARE_API_KEY'));
await social.post({
post: "Tonight's recipe: Crispy Herb Roast Chicken 🍗 cookingwithtbeckett.com",
platforms: ["facebook", "instagram", "twitter", "linkedin", "pinterest"],
mediaUrls: ["https://...dish-image-url..."],
});Secrets Required
| Secret Key | Used For |
|---|---|
AYRSHARE_API_KEY | Post to all platforms via Ayrshare (recommended) |
FACEBOOK_PAGE_TOKEN | Direct Facebook Graph API posting |
PAGE_ID | Facebook Page identifier |
IG_USER_ID | Instagram Graph API |
INSTAGRAM_ACCESS_TOKEN | Instagram publishing |
X_CLIENT_ID | X (Twitter) OAuth 2.0 |
X_CLIENT_SECRET | X (Twitter) OAuth 2.0 |
PINTEREST_ACCESS_TOKEN | Pinterest Pins API |
TIKTOK_CLIENT_KEY | TikTok Content Posting API |
TIKTOK_CLIENT_SECRET | TikTok Content Posting API |
Set secrets in: Dashboard → Settings → Environment Variables
