How to initialize Facebook APP
Register as a developer, you can register at the following website. https://developers.facebook.com/async/registration+
Log in https://developers.facebook.com/+.
Click 'MY Apps',
Click 'Create APP',
Select 'Business', click 'Next'
Enter 'App Name' and 'Contact email', click 'Create app'.
Select the verified business account
Note: When creating the APP, it must be placed under the verified business account, otherwise the APP cannot be submitted.
Page will switch to,
Click Settings>Basic, Copy 'App ID' and 'App secret' here.
Paste the App ID and App Secret on the CX system admin page.
Click Dashboard>Facebook Login for Business, click 'Set up'.
Enter URL. URL is https://Domain:9001/api/v1.0/facebook/integration/callback. Domain is your Web Domain.
Click 'Save changes'. And then click Dashboard>Messager, 'Set up'
Click 'Add or Remove Pages' and continue.
Click ‘Create a Page' and complete the page information.
Click Messenger>Settings, 'Add or remove Pages'
Select a page, click 'Continue'.
Click 'Continue'.
Click Messager>Settings>Access Tokens, click 'Generate token'. And copy the token and paste it on the webhook setting.
Click Messager>Settings>Webhooks, Click 'Add Callback URL'.
Enter Callback URL and token. URL is https://Domain:9001/fb/webhook, Domain is your Web Domain.The Token is generated on the previous step.
Click Messenger>Settings, click 'Add subscriptions'
Select all, and click 'Save'.
Click App Settings >Basic, and input app’s information.
Click ”Save Changes” and switch the App Mode to live.
Click App Review > Permissions and Features, and then click Request advanced access.
Facebook permissions: | Instagram permissions: |
---|---|
pages_messaging | instagram_content_publish |
Business Asset User Profile Access | instagram_manage_insights |
pages_manage_metadata | pages_messaging |
public_profile | instagram_basic |
Page Public Metadata Access | pages_show_list |
business_management | pages_manage_metadata |
pages_show_list | instagram_manage_messages |
| pages_read_engagement |
| Business asset user profile access |
Note: Each permission is required to submit a recorded video about how the permission is used in our CX system. After Facebook has approved it, it will have a green label of "advanced access";
Permissions are more likely to be denied by Facebook, please keep in real-time communication with theircustomer service;
Permission repeatedly denied to apply frequently, your account will be considered unstable account and will be banned by Facebook.