Skip to content

3. Create Facebook App

If you have already had a Facebook Page. You can skip the Facebook App creation. But you still need to generate the Page Access Token. Which is mentioned at the lower section of this chapter.

Create Facebook App

WcBot server is a backend service that the Facebook App will send the message to and get the responses from. That's why we need to create a Facebook App. Next section mentioned steps to create a Facebook App quickly.

Login Developers Portal

The URL of Facebook developer portal is https://developers.facebook.com. Use your Facebook account to login. You'll reach developer home page. To create a new App, follow below steps:
(Click here to enlarge the screenshot. When finish, click browser 'Back' to return)

Select Messenger App

When you enter the App name and input security check characters, you'll reach product selection screen. Follow below steps:
(Click here to enlarge the screenshot. When finish, click browser 'Back' to return)

Generate Page Access Token

Access Token is to secure the communication between Facebook Page and Facebook App. Below mentioned the steps to create the token.

Select the Page to generate

In Messenger product screen, scroll down little bit to 'Token Generation' section. To generate the Access Token for the Facebook Page you created in last chapter, click and select the Page as below:
(Click here to enlarge the screenshot. When finish, click browser 'Back' to return)

Obtain the token

Hereafter two permission screens popup, click 'Continue' and 'OK' buttons respectively. Then you'll see the token as below screenshot.

Page Access Token is a very long password like characters. Facebook developer portal provides very nice feature that you just click the token, it copies the token to Clipboard automatically. (You even don't need press CTRL+C to copy). See below screenshot:
(Click here to enlarge the screenshot. When finish, click browser 'Back' to return)

You can paste the token to Notepad at this time. WcBot needs that to configure the plugin later. Now continue to next chapter 'Install WcBot plugin'.


Comments