Auto-Publish WordPress Posts to Facebook


If you have ever wondered how to publish your WordPress posts to Facebook here’s the answer:

First you have to install the plugin XYZ SMAP.

Activate the plugin.

Navigate to the plugin in the main menu of your WordPress Dashboard and select Settings.

Follow the following instructions to create a Facebook Developers account and create an application.

Creating Facebook Application

Creating Facebook Application

To create a new facebook application ,go to the link or

If you are not a developer, you need to register as a developer.

register as a developer

Click on the “Register as a Developer” link (highlighted above).

Facebook Developers 2

In the first step “Accept the terms” and click continue.

Facebook Developers 3

In the second step “Tell us about you”, select the appropriate section and click continue.

Facebook Developers 4

Now you are a Facebook Developer. Click “Done” and you can now create the application.

create new app 2

Click on the “Create New App/ Add a New App” link.

If you have a developer account in facebook, click on the ‘Apps’ link in the header and you can create a new app.

FB New App

Select the platform “Website”.

FB New App 2


Now enter the app name and click on the “Create New Facebook App ID” or click on the “Skip and Create App ID” button.

step 1

In this page enter your App Display name, Contact Email, select the category and click “Create App ID”. It will show a captcha to select some pictures.

step 2

Enter the security check and click “Submit”.

step 4

The App ID and App Secret are now ready. Click the “Show”button to see the App Secret.

Now go to the ‘Settings > Basic’ page of the app.

step 5

In this page click on the ‘+ Add Platform’ link. It will display some platforms for the app.



Here select the platform ‘Website’ and display the section to enter the website details.

site url

In the “Site URL” section, enter the url of your site and click “Save Changes”. (Note: You can see your site URL in the top of the plugin facebook settings. See the below image)

step 10

Here the app is in development mode. Only the developer can view the posts now.

To make the app ‘Live/Public’, please go to the ‘App Review‘ page.

step 7

In this page please select the ‘Live/Public’ mode by selecting the ‘YES’ button. (Sometime it will ask for the contact email address to make the app live. In such a case, please go to the settings page and do as given below. After completing the 2nd step please return to this section and make the app live.)

Now a ‘green indicator’ will display next to the app name as in the above image.

step 9

You can now use the facebook app keys in the plugin. There is no need of submitting the app for approval.

After entering the keys in the facebook settings page, you need to “Authorize” the account. You can see the FB pages in the settings page only after authorizing FB account.

When you click on the “Authorize” button, it will redirect to a facebook popup dialog box.

Step 1:



There is some warnings and you can ignore the warning and click the “OK” button.

Step 2:

step 2


Select the “Public” option and click OK.

Step 3:

step 3


In the step 3 click OK and the authorization is complete.

Now you can see all your fb pages and you can select the fb page to auto publish.

step 4

Start posting and in the bottom right column just before where you set the featured image you will see a new select box for social media publication.  It will be set up for Facebook now.  If you want to set this up to auto post your blog posts to twitter and LinkedIn as well just follow the following tutorials to set up for Twitter and LinkedIn.