

Facebook Page Content Scheduler and Automation Script
The ultimate solution to [Problem It Solves] and achieve [Desired Outcome] effortlessly.
- Benefit 1: Explain a key benefit here. Focus on the result.
- Benefit 2: Describe how it makes the customer's life easier or better.
- Benefit 3: Mention another powerful advantage or feature.
Product Description
Live Demo
You can test the script CLICK HERE and use credentials below:
- Username: admin
- Password: admin
This Facebook Auto Post script is a comprehensive PHP application for automating content publishing to a Facebook Page. It is built to be both powerful and easy to use, with a secure, modern admin dashboard at its core. The script handles everything from content scheduling and captioning to notifications and logging.
Key Features & Functions
1. Secure & Professional Admin Dashboard (admin_panel.php)
- Secure Login: The dashboard is protected by a username and password. The password is encrypted using modern hashing (password_hash()), ensuring it's never stored as plain text.
- Modern UI: A clean, responsive, and intuitive user interface built with a tabbed navigation system. It's easy to use on both desktop and mobile devices.
- Centralized Settings: All script settings are managed from the admin panel and stored in a single settings.json file. This includes API keys, default texts, and feature toggles.
- Content Queue Overview: The dashboard displays a live count of the images and videos currently in your content/ folder, ready to be posted.
2. Core Posting Engine (auto_post.php)
- Dual Content Types: The script can post both photos (.jpg, .png, etc.) and video reels (.mp4, .mov, etc.). It automatically selects a random file from your content queue for each post.
- Cron Job Automation: Designed to be run automatically on a schedule using a cron job, allowing for true "set it and forget it" content posting.
- Facebook Graph API Integration: Uses cURL to reliably interact with the official Facebook Graph API for posting content.
3. Advanced Caption & Hashtag System
- Default Mode: You can set a default caption and set of hashtags that will be used for all posts if no other system is enabled.
- Line-by-Line Mode: For unique content every time, you can enable this mode. The script will take the first line from captions.txt and hashtags.txt (for photos) or reelscapt.txt and reelshash.txt (for reels).
- Auto-Updating Text Files: When Line-by-Line mode is active, you can configure the script to automatically delete the line that was just used, ensuring no caption is ever repeated.
4. Content & File Management
- Multi-File Uploader (upload.php): The admin panel includes an easy-to-use form to upload multiple images and videos to your content queue at once.
- Automatic File Deletion: To prevent re-posting the same content and to save server space, you can enable an option to automatically delete a media file after it has been successfully posted to Facebook.
5. Real-time Notifications & Logging
- Telegram Alerts (sendTelegramMessage()): The script is integrated with the Telegram API. After every post attempt, it sends a detailed message to your specified chat:
- On Success: A ✅ confirmation message with the Post ID, a preview link to the media, and the full caption used.
- On Failure: A ❌ alert with the specific error message returned by Facebook, helping you diagnose issues quickly.
- Robust Error Logging (writeErrorLog()): All major actions, decisions, and errors (e.g., file selected, API response, success/failure) are written to a timestamped log file (error_log/auto_post.log) for easy debugging.
6. Manual Control & Testing (manual_test.php)
- The admin panel includes "Manual Test" buttons that allow you to trigger a photo or reel post immediately, without having to wait for the next scheduled cron job. This is perfect for testing new settings or posting breaking content instantly.
What Our Customers Are Saying
Firoj
Nice
Ahsan
Perfect
Good Product
Masum
Perfect
Asif