Please wait while we load your page...



Facebook AutoPoster

More Tools. . .

We provide this tool for FREE! However, we would greatly appreciate your support so we can continue to develop more tools (online tools and downloadable tools). You can show your support by sharing / liking this tool on Facebook. You can also tweet this page to your Twitter followers and following us on Twitter.

The Facebook AutoPoster tool is a downloadable PHP application (app). The app automatically posts to your Facebook Page:

1. Download the app ZIP file.
2. Unzip the app ZIP file to your computer.
3. Edit the settings in the config.php file:

- Regarding the Facebook settings, you need to create an app first. Set app Access Level to "Read and write". Once you have created the app, you will see values to use for Facebook App ID and Facebook App Secret in your Dashboard.
- Regarding Facebook Page ID, this is the ID of the Facebook Page you want to post to. You can get it here: Find My Facebook ID by entering the URL of your Facebook Page.
- Regarding the mySQL settings, see (4) below.

4. Upload files to web server in a separate directory.
5. CHMOD the facebook_page_access_token.txt file as 666 (rw-rw-rw-)
6. Create a database for the Facebook posts which the app will autopost. Note the mySQL Host, mySQL Username, mySQL Password, and mySQL Database Name. You will use these in config.php. Via phpMyAdmin, run the following SQL query:

CREATE TABLE IF NOT EXISTS `facebookposts` (`id` int(11) NOT NULL AUTO_INCREMENT,`url` varchar(500) NOT NULL,`post` varchar(140) NOT NULL,`media` varchar(300) NOT NULL,PRIMARY KEY (`id`),KEY `id` (`id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;

7. Populate the database via phpMyAdmin:

- In the URL field, enter the URL to include in Facebook post. This field is optional. If no URL supplied, it is ignored and not included in the Facebook post.
- In the Post field, enter the text of the Facebook post. This field is required.
- In the Media field, enter URL of the media file (image or video) to include in the Facebook post. This field is optional. If no Media supplied, it is ignored and not included in the Facebook post.

8. Create your Facebook Page Token by visting / executing the getAccessToken.php file with your web browser. This token is only valid for a maximum of 60 days. You should repest this step monthly.
9. Lastly, you need to create a server cron job to automatically execute the updater.php file at preset times. For example, every 30 minutes. Typically you can do this via a server control panel like cPanel. If you cannot do this yourself, ask your web host to do it. We do not recommend setting interval at less than 15 minutes.
Live Chat Available