Create New Facebook Channel

This section describes how to create a new Facebook page channel, by doing the following steps:

Go to the Integration menu and click the Channel Connector menu, then you will see a channel connector page such as image below.

Channel Connector

On the channel connector page, click the 'Plus' button on the box channel Facebook page, and then you will see a pop-up channel setting.

Channel Setting

Component Explanation:

Name
Description

App ID

A unique identification number will be added to your App.

App Secret

Facebook app will automatically generate a secret code connected with your app. Its purpose is to authenticate requests from the application to Facebook servers.

Page Access Token

A page access token to start using the platform APIs or to manage and access your page.

Version

API Version used on your Facebook app.

Get App ID

Copy Facebook page 'App ID' to the channel settings page which can be found on the 'Settings' section and select 'Basic' from the drop-down menu. Settings basic console will be displayed. See the image below.

Basic Settings

Paste 'App ID' into the pop-up channel settings.

App ID

Get App Secret

Copy the Facebook page 'App Secret' to the settings page which can be found on the 'Settings' section and select 'Basic' from the drop-down menu. The basic app's settings will be displayed, and click the 'Show' button on the app's secret. See the image below.

Basic Settings

Paste 'App Secret' into the pop-up channel settings.

App Secret

Get Page Access Token

Paste 'Page Access Token' into the Facebook page channel settings box.

Page Access Token

You can get a page access token by following the steps below.

Obtain Short-Lived Page Access Token

Click the 'Tools' menu and select 'Graph API Explorer'.

Graph API Explorer

In the field Meta App, select an app used to obtain the page access token.

Select Meta Application

Click Get Token → Get Page Access Token and select your Facebook app.

Page Acces Token

Then, select permission for your access token. To know about what permission must be selected, please refer to this documentation.

Select Permission

Click 'Copy' on your Page Access Token.

Copy Page Access Token

Check the properties in Access Token Debugger, click Tool to see the token in Access Token Debugger, paste the access token copied in the last step above to the text field and click the 'Debug' button.

Access Token Debugger

Please check the followings:

Page Access Token
  1. App ID: the app id mentioned in the pre-requisite section.

  2. Type: page.

  3. User ID: you, a person who has admin rights to the Facebook Page mentioned in the pre-requisite section.

  4. Expires: a time stamp that would probably expire in an hour or two.

  5. Scopes: includes predetermined added permissions.

Exchange for Long-Lived Page Access Token

Click Extend Access Token to get a long-lived token.

Extend Access Token

Click the 'Debug' button.

Debug

Then, Facebook will ask you to enter your account password and click the 'Submit' button.

Re-enter Password

Check the properties of this access token in Access Token Debugger. It should have a longer time such as 60 days, or Never in the Expires.

Page Access Token
  1. App ID: the app id mentioned in the prerequisite section.

  2. Type: page.

  3. Profile ID:

  4. User ID: you, a person who has admin right to the Facebook Page mentioned in the prerequisite section

  5. Expires: About 2 Months.

Next, select the version and click the 'Authorize' button.

Authorize Channel

On the pop-up, click 'Add Page Channel'.

Pop-up Authorization

If authorize successfully, click the 'Save' button.

Save Channel Setting

And then, the Facebook page channel Divers Dolphins has successfully created.

Add New Facebook Channel

Component Explanation:

No.
Component
Description

1.

Channel Name

Name of your Facebook Page channel. Hover on the channel name to view the channel port.

2.

Channel ID

Each channel registered in Omni Channel 3Dolphins has a different ID.

3.

Channel Config Button

Click to edit the LOBs that can access this channel and your Facebook API version.

4.

Channel URL Edit Button

Click to edit channel URL. If connecting with proxy, please adjust the URL accordingly.

5

Channel URL Copy Button

Click to copy the channel URL to the clipboard.

6

Online / Offline Button

Click to turn on or off the channel. Red means offline, Green means online.

7

Refresh Button

Refresh your channel at any time to ensure you are always up to date with the refresh button.

Then, you must add Port to the channel URL that has been added. To find the channel port, hover over the channel name, then enter the port on the 'Channel Edit URL' button.

Add Port Channel

This channel URL will be used as a callback URL when configuring the messenger platform on your Facebook application.

Last updated

Was this helpful?