1. Home
  2. Docs
  3. Social Media Auto Publish
  4. User Guide – Free Plugin
  5. Facebook Settings

Facebook Settings

Please note that from August 1, 2018 we need to submit the facebook app for approval and we can use the facebook app, only after getting the approval. The app submission details are available in

How can I create Facebook application?

We have introduced an alternate solution and it is a paid service starts from USD 10 per year.

So there are 2 options, use the free facebook approved API or use the paid alternate solution.

If you are using the facebook approved free API, we can use it in https sites only.

The settings for the Social Media Auto Publish are given below.

Click on the Social Media Auto Publish plugin menu in the left menu bar to get the settings page.

SMAP menu

Facebook Settings

Facebook settings are given below.

facebook settings - API

You have to create a Facebook application before filling the facebook settings details.

Note:  From August 1, 2018 we need to submit the facebook app for approval and we can use the facebook app, only after getting the approval. We have introduced an alternate solution and it is a paid service starts from USD 10 per year. So there are 2 options, use the free facebook approved API or use the paid alternate solution.

To create a new Facebook application follow the link

In the application page in facebook, navigate to Apps >Add Product > Facebook Login >Quickstart >Web > Site URL.

Set the url of your site as the Site URL.

Note: We can use only https sites in facebook.

From the facebook application, you will get the application id and application secret. Enter these values in the space provided.

1. Application Name – This is the name of the application only. You can use any name here.

2. Application Selection – Here we can select whether we are using the free facebook approved API or the paid service.

3. Application id – Enter the application id from facebook application here.

4. Application Secret – Enter the facebook application secret here.

5. Message Format for posting – This is the message format for posting in the facebook. You can add your message with post title, blog title etc. here. The codes are given below.

  • {BLOG_TITLE} – This is the title of the blog (wordpress site name)
  • {POST_TITLE} – Title of your post.
  • {PERMALINK} – This is the URL of the post.
  • {POST_EXCERPT} – This is the summary of your post.
  • {POST_CONTENT} – This is the description of the post.
  • {USER_NICENAME} – This is the nice name of the author.
  • {POST_ID} – This is the ID of the post
  • {POST_PUBLISH_DATE} – This is the post publish date.
If you want to display the post title, the link to the post and the summary of the post, please use the codes  {POST_TITLE} – {PERMALINK}-{POST_EXCERPT}. You can select the code from the dropdown menu.

6. Posting Method – We have 5 posting methods

  • Simple Text Message – We can add simple text messages to our facebook account with this option. A sample image is given below.
    simple text message
  • Text Message with Image – Here we can add text and image in facebook. We have 2 options in this method.
  • Upload image to app album – Here we have an album for the app and all the uploaded images are present in this album. All our post images are available in this album. For the first 2 images, we donot have an album option. From the third images, all our images are in the app album. A sample image is given below.              fb-post-app-album
  • Upload image to timeline album – We can upload the image to timeline using this method. Here we can see the text and related images in the timeline. This option is available if your profile has a timeline album.
    time line album
  • Text Message with Attached Link – Here we can add text with attached link in facebook. We have 2 options here.
  • Attach your blog post – Using this option we can attach the blog  post with facebook post. A sample image of attaching the blog post in facebook is given below.
    attach your blog
  • Share a link to your blog post – Using this option we can have the option of “Share” with the facebook post. A sample image of sharing a link to the blog post in facebook is given below.
    share a link 2

7. Enable auto publish post on my facebook account – If you want to publish your blog posts in facebook automatically, enable this option.

Save this option and it will ask to “Authorize the fb app”

fb authorization

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

Step 1:

step1

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.

fb pages

8. Select facebook pages for auto publish – You can select your facebook pages where you want to publish the blog posts. If you have different facebook pages and profile page, you can select where you want to publish the blog post.

Note 1 : You can see this option (Select facebook pages for auto publish) only after authorizing the facebook account. In the first time when you entering the values, this field is not available. After entering the values, you need to authorize the FB account and then you can see the facebook pages for auto publish.Save the facebook settings again after selecting the page where you want to display the post. Also as per the new rule, you cannot publish to your profile using the App.

Note 2 : While authorizing, please make sure that you have entered the correct facebook keys and details. If any of the value is incorrect, it won’t authorize the account.

The steps for using the already approved app

Please select the approved app option and click on the connect to xyzscripts account button.

connect the account

Now it will display a popup to login to xyzscripts or register to xyzscripts.

smap registration

If you are creating a new account, it will send a confirmation mail to the registered email and click on the confirmation link.

smap registration confirmation

After confirming the email, please save it and click on the “authorize” button.

authorize

Now it will ask you to select the package.

3 purchase plan png 278×385

After purchasing package and successful payment it will redirect to facebook authorization flow.

4 auth-fb1

Now click on the continue button.

5 auth2

Click Next button or choose the fb pages.

After Facebook authorization is completed, facebook pages will be listed.

6 page selection2

Select pages and click the continue button,it will redirect tofacebook account page,where the selected pages displayed.

Now you can select the pages to publish.

Error cases on authorization procedure

  1. Click on continue without selecting pages
    8 ERR case _select atleast one page
  2. Page limit reached
    9 ERR case _limit exceeded upgrade package
    In this case you can upgrade the package by clicking on the upgrade plan.
Was this article helpful to you? Yes 19 No 4