# Sending Message to Facebook Messenger

In order to send a message to facebook messenger a user must initiate the conversation by sending a message or subscribing to your facebook business page first. Once a user is subscribed to your page you will get a unique **`"messenger_id"`** of the user , this id will be used to communicate further with the user.

{% hint style="danger" %}

### Please make sure you have connected your facebook business page with Picky Assist before start integrating.[ Read More](/setting-up-guide/connecting-channels/setting-up-facebook-messenger.md)

{% endhint %}

## Integrating Facebook Messenger

We make use of the Same Web-hook & API Structure for all messaging app, so that you can just add few parameters to integrate  any messaging channel we support, just replace the below parameters while receiving and sending messages.

| Variable      | Value                                                           |
| ------------- | --------------------------------------------------------------- |
| application   | 5=Facebook Messenger                                            |
| messenger\_id | Unique ID given by the facebook                                 |
| name          | User Full Name as updated by their facebook / messenger profile |

### Facebook Not Supported Media Types

1. Receiving contacts&#x20;
2. Sending location but able to receive location from a user
3. [Read the Guidelines & Compliance ](/setting-up-guide/connecting-channels/setting-up-facebook-messenger/guidelines-and-restrictions.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pickyassist.com/api-documentation-v2/push-api/sending-message-to-facebook-messenger.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
