Create a New Channel of Facebook

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

Go to the Integration menu and click the channel connector menus, then you will see a channel connector page such images below.

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

Component Explanation:

Get App ID

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

Paste ‘App ID’ into the pop-up channel settings.

Get App Secret

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

Paste ‘App Secret’ into the pop-up channel settings.

Get User Access Token

Paste ‘User Access Token’ into the Facebook page channel settings box.

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

Obtain Short-Lived User Access Token

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

In the Application, select an app used to obtain the access token.

Click User TokenGet User Access Token.

On the permission field, 'Select Permissions', under User Data Permissions check Email and under Events, Groups & Pages, Check manage_pages, pages_messaging, and publish_pages. And, Click the 'Get Access Token' button.

Click the access token field to copy User 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.

Please check the followings:

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

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

  3. Expires: a time stamp that would probably expires in an hour or two

  4. Scope: should contain the 'email', 'manage_pages', 'publish_pages', 'pages_messaging' permission.

Exchange for Long-Lived Access Token

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

Click the 'Debug' button.

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'.

Check the properties of this page access token in Access Token Debugger:

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

  2. Profile ID: the page id mentioned in the prerequisite section.

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

  4. Expires: Never.

Get Page Access Token

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

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

Obtain Short-Lived Page Access Token

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

In the Application, select an app used to obtain the access token.

Click Get TokenGet Page Access Token.

Click the access token field to 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.

Please check the followings:

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

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

  3. Type: User.

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

Exchange for Long-Lived Page Access Token

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

Click the 'Debug' button.

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

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

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

  3. Type: User.

  4. Expires: About 2 Months.

Next, select the version and click the ‘Authorize’ button.

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

If authorize successfully, click the ‘Save’ button. And then, the Facebook Page channel ‘3Dolphins SRM’ has successfully created.

Component Explanation:

Last updated