WP Manifestindependent plugin directory
manifest / social / wpfacebookautopost

WP Facebook Auto Post

WP Facebook Autopost is a free WordPress plugin that will automatically make facebook posts for your new blog posts

by Nerdy South Inc · github.com/n3rdysouth/wpfacebookautopost · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/n3rdysouth/wpfacebookautopost/archive/refs/heads/main.zip

Automatically post new blog posts to your Facebook page with customizable post formats.

Features

  • Automatic posting to Facebook when new WordPress posts are published
  • Customizable post format with dynamic variables
  • Easy-to-use settings interface
  • Secure Facebook OAuth integration
  • Page selection for multi-page accounts
  • Enable/disable auto-posting without losing configuration

Installation

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Settings > Facebook Auto Post to configure

Setup Guide

Step 1: Create a Facebook App

  1. Go to Facebook Developers
  2. Click "Create App" and choose "Business" type
  3. Fill in the app details and create the app
  4. Add "Facebook Login" product to your app
  5. In the Facebook Login settings, add your redirect URI to "Valid OAuth Redirect URIs":
    https://yourdomain.com/wp-admin/options-general.php?page=wp-facebook-auto-post

Step 2: Configure Plugin

  1. In WordPress, navigate to Settings > Facebook Auto Post
  2. Enter your Facebook App ID and App Secret
  3. Click "Save App Credentials"

Step 3: Authorize Facebook

  1. Click the "Authorize with Facebook" button
  2. Log in to Facebook and grant permissions
  3. You'll be redirected back to your WordPress admin

Step 4: Select Page

  1. Choose which Facebook page you want to post to
  2. Click "Select Page"

Step 5: Customize Post Format

Use the following variables in your post format:

  • {POST_TITLE} - The title of your blog post
  • {POST_URL} - The URL to your blog post
  • {POST_EXCERPT} - The post excerpt
  • {POST_AUTHOR} - The post author's name
  • {BLOG_TITLE} - Your blog's name
  • {BLOG_URL} - Your blog's URL
  • {POST_DATE} - The post publication date
  • {POST_TIME} - The post publication time

Example formats:

New post: {POST_TITLE} - {POST_URL}
Check out our latest article: {POST_TITLE}

Written by {POST_AUTHOR}

Read more: {POST_URL}
📝 New on {BLOG_TITLE}: {POST_TITLE}

{POST_EXCERPT}

👉 {POST_URL}

Requirements

  • WordPress 5.0 or higher
  • PHP 7.0 or higher
  • Active Facebook Page
  • Facebook App with appropriate permissions

Facebook App Permissions

The plugin requires the following Facebook permissions:

  • pages_manage_posts - To post content to your page
  • pages_read_engagement - To read page information

Frequently Asked Questions

How do I know if a post was shared to Facebook?

Posts that have been successfully shared will have metadata stored indicating they've been posted. You can check the WordPress error logs for any Facebook API errors.

Can I share to multiple pages?

Currently, the plugin supports one page at a time. You can change the selected page at any time in the settings.

What happens if the Facebook API fails?

The plugin will log errors to the WordPress error log. Posts will not be marked as shared if the API call fails, so you can retry by re-publishing the post.

Can I customize which post types are shared?

By default, only standard posts are shared. You can modify this by editing the plugin code in the auto_post_to_facebook method.

How do I re-authorize my Facebook account?

Simply click the "Re-authorize Facebook" button in the settings page and follow the authorization flow again.

Support

For support and feature requests, please contact Nerdy South Inc at https://nerdysouthinc.com

Changelog

1.0.0

  • Initial release
  • Facebook OAuth integration
  • Customizable post formats
  • Page selection
  • Auto-posting functionality

License

This plugin is licensed under the GPL v2 or later.

Credits

Developed by Nerdy South Inc - https://nerdysouthinc.com