# Facebook Messenger \[Deprecated soon]

{% hint style="danger" %}
Support for the direct Chatlayer integration with Facebook Messenger is coming to an end. Instead, we recommend connecting your Chatlayer bot to Facebook Messenger using the [Sinch Conversation API](https://docs.chatlayer.ai/channels/sinch-conversation-api-beta).
{% endhint %}

Integrating your bot with Facebook Messenger is easy, just follow the steps in the wizard or watch the example video below:

{% embed url="<https://www.youtube.com/watch?v=7rChfbFl-fA>" %}

{% hint style="danger" %}
In order for your Facebook Messenger bot to be publicly available, you will have to go through Facebook's strict App Review process. The steps & best practices that must be taken for App Review, as detailed by Facebook, can be found [here](https://developers.facebook.com/docs/app-review/resources/sample-submissions/messenger-platform).
{% endhint %}

## Facebook Messenger Specific Content

In the `Channels > Messenger` section you can define settings that are specific to Facebook Messenger.

### Greeting Message

The greeting message is what will be shown first when the bot is clicked on by a user. In the example below, the greeting message is configure to `Timeless apparel for the masses`.

#### Personalization

You can personalize the greeting text using the user's name by using these template strings:

* `{internal.user.firstName}`
* `{internal.user.lastName}`
* `{internal.user.fullName}`

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-LLTwINdA-k01sAajhSX%2F-LLTwL6tCFGGWR2CYoXV%2Fstatic%20content%20-%20greeting%20message.png?generation=1535969950943891\&alt=media)

### Get Started Button

Facebook has a `Get Started` button visible on every page. Clicking that button redirects you to a block which you can choose here. Typically, this is a block introducing the bot and what it can do for the user.

### Persistent Menu

Both Facebook and the web widget support an overflow menu that is called the `Persistent Menu`. In this menu, you can define common actions that your users can take. Typical examples include for example

* Start over
* Talk to a live agent
* Disable notifications
* Buy product \[XXX]
* Go to \[company] website
* Change Language
* Help

![](https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLTwFwbOqJj4dDhg8Ju%2F-LLTwINdA-k01sAajhSX%2F-LLTwL6vY-VKxL3a2c4d%2FScreen%20Shot%202018-03-04%20at%2014.02.08.png?generation=1535969951090377\&alt=media)
