How can I create Facebook application?

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

Note 2: Due to changes in version 19.0 of the Meta app permissions, when creating a new app you will have to choose the App Type “Business” or “Consumer” if your goal is to fetch posts from pages where you are an administrator or from your user profile, however, it’s important to note that currently our Facebook Fetcher addon can only authenticate one App at a time.

Note 3: Posts can be obtained from the public Facebook pages only when the application is approved. Therefore if you want to get posts from the public pages you must submit the request for approval, please note that this can take up to 3 months.

Create Facebook App
To create a new facebook application,go to the link https://developers.facebook.com/apps or https://developers.facebook.com/
Click on each item for more details or click to display all descriptions of the steps
Step 1: Creating a New APP
Click on the “Create New App/ Add a New App”, then select “Other” option to choose the App type in next step.
How can i create facebook application? - fb create app
Step 2: Choose APP type
Choose APP type “Bussines” for pages or “Consumer” for user profile.
How can i create facebook application? - fb app type
Step 3: Give it a name
Enter the App Display Name and the contact email and click the “Create App”.
How can i create facebook application? - fb apps details
Step 4: Add products to your app
Click the “Set Up” button in “Facebook Login” option.
How can i create facebook application? - fb app 4
Step 5: Select a plataform
Click the “Web” button.
How can i create facebook application? - fb app 5
Step 6: Add your site URL
In the “Site URL” section add your site url and save it.
(Note: You can see your site URL in the top of the WPeMatico Facebook Fetcher settings. See the below image)
How can i create facebook application? - step 10How can i create facebook application? - fb app 6
Step 6: Add OAuth redirect URIs
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.
How can i create facebook application? - fbf oauthPlease use this OAuth redirect URI in the facebook settings.
How can i create facebook application? - fb app 7Please note that Client OAuth Login and Web OAuth Login should be is YES position.
After entering the redirect URIs, please save the changes.
Step 7: Add some more parameters
The app is created now but we need to add some more parameters to submit the app for approval. Click the “Settings > Basic” link in the menu to see the app id and secret.
How can i create facebook application? - fb app 8
In this page we can see the App ID and App Secret.Click the “Show” button to see the App Secret. (The app secret is in alphanumeric and DON’T use ******* as App Secret.)

We also need to add the privacy policy url, terms of service url, select category etc. in this section.

For the option “Business Use”, please select “Support my own business”.

Facebook App Review
Step 8: Submit the application for approval
So far the application is in development mode.In this way we can receive publications from the user’s own pages that connect in the plugin Settings.

To go further we need to get Facebook to approve the APP so you can try following these steps, which we recommend you use as a guide as they may not be exactly the same.

We need to “submit the application for approval” and after the application is approved, we can do autoblogging from public Facebook pages.

The App Review Process Submission is given below.

1: Click on the “App Review > Current Request” and then the “Add additional permissions and features” link.
How can i create facebook application? - app review

2: Now it will redirect to the all permissions and features page and in this we can select the manage_pages and publish_pages permissions and click on the “Request” button. (For the PREMIUM plugin we need 2 additional permissions for publishing the posts to groups – publish_to_groups and Groups API)
How can i create facebook application? - pca

3: Now you can see the continue button after the request and click on it.
How can i create facebook application? - request

4. Click on each permissions and you can add the details of each item.
How can i create facebook application? - request permissions

4 A : Details for Public Content Access
How can i create facebook application? - pca form

  • For the question “Tell us how you’re using this permission or feature”, please use the answer “Lets people get content and comments from a Facebook page to post on their website”.
  • For the question “Select applicable platforms and provide detailed step-by-step instructions on how a review team member can experience this permission or feature the same way people using your app would.”, please turn on the Web.
  • In the detailed step-by-step instructions, please use the detailed steps.
    A Sample detailed step-by-step instructions are given below:
    1. Go to https://DOMAIN.com/wp-login.php
    2. Login as an administrator with user name: <user name> and password: <password>
    3. Go to https://DOMAIN.com/wp-admin/edit.php?post_type=wpematico&page=wpematico_settings&tab=facebookfetcher where user has to authorize the application from the plugin’s settings page.
    4. Enter the Facebook App keys and save, then click on the button ‘Authenticate’. The “facebook login” is renamed as authenticate here.
    5. It will take you to Facebook authentication procedure.
    6. After the authentication is complete,make a post in website by following below steps,

6.1 : Go to https://DOMAIN.com/wp-admin/post-new.php?post_type=wpematico
6.2 : Select Facebook Fetcher in the Campaign Type option, check the “Use alternative facebook pages” option and add Page URL, configure the campaign as you wish, then click ‘Publish’ button on right side.
6.3 : Run/Start the campaign.

  1. The new posts on your website will be published from Facebook.
  2. Without the Facebook “Public Content Access” permission, we would not be able to get content from Facebook Public Pages.

 

4 B : Complete App Verification and Settings
How can i create facebook application? - complete app verification

In this section we can provide verification details and review the app settings.
How can i create facebook application? - app verification details

There is a test user “Open Graph Test User” by default.

Now you can review the app settings by adding App Icon, Privacy Policy URL, Category etc.
How can i create facebook application? - complete app settings

After entering the details, please save it. Now we can submit the app for review.

Accept the terms and submit. The app is now submitted for approval.

Note 1: It may take some to get the app approved by facebook. (1 week – 3 months).

Note 2: If you are getting any response from facebook saying that the “Facebook Login” option is not present in the page, please tell them the “facebook login” is renamed as authorization here and when click on the authorize button, the facebook login is executing.

Step 9: Permissions approved
Once the app get approved, you can see the permissions approved with a green bubble under the “App Review > My Permissions and Features”.
How can i create facebook application? - approvedNow make the app “Live”

To make the app ‘Live/Public’, please go to the ‘App Review‘ page.
How can i create facebook application? - step 7

In this page please select the ‘Live/Public’ mode by selecting the ‘YES’ button and a ‘green indicator’ will display next to the app name as in the below image.
How can i create facebook application? - step 9

You can now use the facebook app keys in the plugin.

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

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

You can see the FB pages in the WPeMatico campaign, only after authenticating FB account.

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

Then, you must continue with your Facebook account and enable the necessary permissions for the application.

How can i create facebook application? - fb app 10

How can i create facebook application? - fb app 11

How can i create facebook application? - fb app 12

How can i create facebook application? - fb app 14

How can i create facebook application? - fb app 13

To finish click on the “Ok” button and the authentication is complete.

Now you can see all your fb pages and you can select the fb page or add some public page URL to autoblogging.
How can i create facebook application? - fbf pages

How can i create facebook application? - fbf public pages