1. Home
  2. Docs
  3. Social Media Auto Publish
  4. FAQ
  5. How can I create Facebook application?

How can I create Facebook application?

Note: Due to Facebook Restriction we can use the new Facebook App in HTTPS sites only.

To create a new facebook application ,go to the link https://developers.facebook.com/apps or https://developers.facebook.com/

If you are not a developer, register first

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 Facebook App

Step 1:

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

Step 2:

Enter the App Display Name and the contact email and click the “Create App ID”.

create app id

Step 3:

Now it will redirect to the “Add Product” page and in this page click the “Set Up” button in “Facebook Login”.

fb app setup

Step 4:

Click the “Web” button.

fb app web

Step 5:

In the “Site URL” section add your site url and save it.

(Note: You can see your site URL in the top of the plugin facebook settings. See the below image)

step 10

site url

Note: If the “Quickstart” page is blank and you cannot enter the domain url, please go to “Settings > Basic” section, just below the Dashboard and then click the “Add Platform” as shown below.

add platform

Then select the “website” as given below.

select website

In this page you can add the site url and save it.

add website

Step 6:

Click on the “Facebook Login >Settings” link as shown below.

Here enter the “Valid OAuth redirect URIs”.

Note : You can see the OAuth redirect URI in the top of the account settings in the plugin.

OAuth redirect URI

Please use this OAuth redirect URI in the facebook settings.

OAuth redirect url

After entering the OAuth redirect URI and enable the “Client OAuth Login and Web OAuth Login”, please save the changes.

Step 7:

The app is ready now. Click the “Dashboard” link in the menu to see the app id and secret.

dev home

In the “Dashboard” we can see the App ID and App Secret.

step 4

The App ID and App Secret are now ready. Click the “Show”button to see the App Secret. (The app secret is in alphanumeric and DON’T use ******* as App Secret.)

Step 8:

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.

Now it will ask to enter the privacy policy url.

Invalid privacy url

Click the “App Details” link in the above popup to add the privacy policy URL.

Privacy url

In the “App Details” page you can add your provacy policy URL and click the “Save Changes” button.

Now return to the “App Review” page and make the app Live and a ‘green indicator’ will display next to the app name as in the below image.

step 9

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

Now enter these keys in the plugin settings in your site.

After entering the keys in the facebook settings page, you need to “Authorize” the account. (The authorization section is present in the wordpress plugin section).

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:

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.

step 4

If you are getting an error “Invalid Scope” when authorizing the app please do the following.

error-invalid scope

  • Step 1 : Please go to https://business.facebook.com/
  • Step 2 : If you don’t have a business manager account, please sign up or login to the business manager account.
  • Step 3 : Click on the menu link in the top left of the business manager section
    business manager
  • Step 4 : Click on the “Business Settings” link.
    business settings
  • Step 5 : In this page please go to “Data Sources > Apps”
    data sources
  • Step 6 : Here click on the “Add App” button and select the “Add an app” link.
    add an app
  •  Step 7 : Now it will ask for entering the App ID. Please add the App ID here and click the Add App button.
    add an app 2
  • Step 8: The App is now successfully added to your business manager account.
    add an app 3
  • Step 9 : Now please authorize the app in your plugin account section.
Was this article helpful to you? Yes 1,163 No 123