⚙️

Setup Required

Some API credentials are missing. Go to Settings to configure your OpenAI and social media API keys before generating posts.

📝
1
Total Posts
📅
0
Posts Today
📘
0
Facebook Published
📸
0
Instagram Published

✨ Generate Today's Post

Use AI to create a fresh mental healing quote, generate a beautiful image, and publish to your social platforms instantly.

⏰ Auto-scheduler is off — enable it in Settings

🔗 Platform Status
🤖 OpenAI (Quote Generation) Not set
📘 Facebook Page Not set
📸 Instagram Business Not set
📊 Quick Stats
🎨 Image Theme Random
🤖 AI Model gpt-4o-mini
Daily Post Time 09:00 UTC
📁 Saved Images 24 files

Loading…

🤖 OpenAI
📘 Facebook
📸 Instagram
Instagram requires a public HTTPS URL to fetch the image.
⏰ Schedule & Post
Enable daily auto-post
Step 1 — Verify PHP extensions

Make sure your host enables the required PHP extensions:

curl
gd
json

These are used for API calls, image rendering, and JSON processing.

Step 2 — (Optional) Install better fonts

For beautiful typography, download and place fonts in pgenerator/assets/fonts/:

  • PlayfairDisplay-Bold.ttf & PlayfairDisplay-Regular.ttfGoogle Fonts
  • Lora-Bold.ttf & Lora-Regular.ttfGoogle Fonts

The generator will automatically fall back to system fonts (Georgia, Arial) if these are missing.

Step 3 — Get your API keys
🤖 OpenAI

Go to platform.openai.com/api-keys and create an API key.

📘 Facebook Page Access Token
  1. Go to developers.facebook.com and create an app
  2. Add the Pages product
  3. Generate a Page Access Token with pages_manage_posts + pages_read_engagement permissions
  4. Copy your Page ID from your Page settings
📸 Instagram Graph API
  1. Your Instagram must be a Business or Creator account linked to a Facebook Page
  2. In your Facebook App, add Instagram Graph API product
  3. Get your Instagram Business Account ID via the Graph API Explorer
  4. Use the same access token as Facebook (with instagram_basic, instagram_content_publish permissions)
  5. Set a public HTTPS URL for your server in Settings (Instagram must fetch the image from a public URL)
Step 4 — Enable the daily scheduler

Create a cPanel cron job that runs the PHP cron script once per day:

php /home/USERNAME/posts.careerplus.space/cron_generate.php

Example schedule for 09:00 UTC: 0 9 * * *

No Python process is required anymore.

Step 5 — Test it!

After configuring your API keys in Settings, go to the Dashboard and click Generate & Publish Now to test the full pipeline.