🔑 Checking token status...
Overall Progress
0%
Published: 0
Has Image: 0
Pending: 0
Total: 0
⏰ Auto-Scheduler
Checking scheduler...
-
Current Day
-
Total Days
-
Start Date
Daily Schedule (WIB):
🖼 Generate: 06:00, 11:00, 19:00
📱 Publish: 07:00, 12:00, 20:00
📧 Email notifications enabled
The scheduler runs automatically on the VPS. It generates images 1 hour before posting, then publishes at the scheduled times. Email notifications are sent for each post and daily summaries.
📋 How to Start the Scheduler
1. Make sure your API keys are configured in Settings
2. SSH into your VPS: ssh [email protected]
3. Run the scheduler:
cd /root/imagolab_v2
nohup python3 scheduler.py > generated/scheduler.log 2>&1 &
nohup python3 scheduler.py > generated/scheduler.log 2>&1 &
4. Check logs: tail -f /root/imagolab_v2/generated/scheduler.log
5. You'll receive an email confirmation when it starts! 📧
🔑 API Configuration
platform.openai.com/api-keys
Must be long-lived (60 days) — exchange via Graph API
Must be set to Unsigned in Cloudinary settings
📧 Email Notifications
myaccount.google.com/apppasswords
🔄 How to Refresh Instagram Token (Every 60 Days)
1. Go to Graph API Explorer
2. Select Imago Lab Bot → Get Token → Get User Access Token
3. Exchange for long-lived token (paste in browser):
https://graph.facebook.com/v18.0/oauth/access_token?grant_type=fb_exchange_token&client_id=1500470044849078&client_secret=YOUR_APP_SECRET&fb_exchange_token=SHORT_TOKEN
4. Get Page Token (paste in browser):
https://graph.facebook.com/v18.0/me/accounts?access_token=LONG_LIVED_USER_TOKEN
5. Copy the Page access_token → paste in Instagram Access Token field above → Save