Getting Started with Facebook (Meta) Integration

For integration to the Meta or Facebook API, first you need to create a Facebook app.

Step 1: Create Facebook App

Visit Facebook Developers page. Click on Create App button.

1.1 App Details

App Name: This name will show on your My Apps page. You can change the name later in Settings. You can put the name of your site here.

App Contact Email: This is the email Facebook will use to contact you whenever there is an important reason.

1.2 Use Cases

Depending upon how you plan to use integration, select one or more use cases. You can change these later also.

  • "Manage everything on your page" for managing Facebook Pages
  • "Manage messaging & content on Instagram" for managing your Instagram account
  • "Create & manage ads with Marketing API" for managing your ad campaigns

1.3 Business

Connect a business portfolio to your app.

After filling in all these details, click "Create app" button. Please note that app created should have Type as Business.

Step 2: App Settings

Navigate to the App settings > Basic from the left menu, enter the following information:

  • App Domains - Domain name of your website
  • Privacy Policy URL

Click "Save changes".

Copy the App ID and App Secret. You need to enter these details at the back-end while creating a new channel.

Step 3: Publish App

From the left menu, navigate to Publish.

Click "Publish" button to make the app live.

Step 4: Check Integration

From the Channels dashboard in the back-end, click "View Channel" button.

The, click "Facebook App". If integration is successful, you will see information about the Facebook app.

Step 5: Get System User Token

System user token acts like a password to interact with various Meta services. This token can be generated from Business Settings.

Step 5.1: Create system User

  • Navigate to Business Settings > Users > System Users
  • Click "Add" to create a new system user
  • Enter the user name and assign role as admin
  • Assign assets to the system user

Step 5.2: Assign app role to the system user

Back to the Facebook developers, from the left menu,

  • Navigate to Business Settings > Accounts > Apps
  • Select the Facebook app
  • Click "Assign people"
  • Select the system user
  • Assign full control permission

Step 5.3: Generate token

Navigate again to Users > System users. Click "Generate token".

  • Select the Facebook app created.
  • Set token expiry to 60 days or Never
  • Assign or choose all permissions (Permissions are displayed based on App use cases)
  • Copy the token and enter it at the back-end channel options.

Now, while viewing the channel at the back-end, you can the information about the system user and token.

What Next?

Manage Your Facebook Pages