Start your Whales server before getting started here (whales server) inside of your fresh new bot project.

Creating a Facebook page

All Facebook Messenger bots come from pages that you manage. Before setting up your bot to interact with your Whales server, you'll have to create a page (the name and details can be anything!)

Direct link to page creation: https://www.facebook.com/pages/creation/

Between Business or brand and Community or public figure, you can select either option. Your category can also be an arbitrary choice.

Example of creating a page

Example of creating a page

Optionally, you may add a profile picture and a cover photo. You can skip these steps after creating your page and update them later, if you wish.

Signing up as a Facebook developer

First, navigate to https://developers.facebook.com and click the Get started button:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/555c444c-4f21-4e19-a344-8b1b8e645a69/Untitled.png

Follow along with the verification instructions that popup from this step. It may ask for your phone number for an SMS confirmation to be sent.

You can identify your use case as a Developer in the final step.

You should get a confirmation screen like this when you're finished:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b42a52ed-7adf-435f-9044-e4239f083c5b/Untitled.png

Click Add your First Product to proceed! You can accept the default options, like "Your Name's first app" as the name of your app.

You should now see a page that looks like:

Lots of overwhelming options. Scroll down to the Messenger section you see on the bottom right!

Lots of overwhelming options. Scroll down to the Messenger section you see on the bottom right!

To continue, click the Set Up button under the Messenger section.