> For the complete documentation index, see [llms.txt](https://help.pickyassist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickyassist.com/api-documentation-v2/push-api/sending-message-to-facebook-messenger.md).

# 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](https://help.pickyassist.com/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 ](https://help.pickyassist.com/setting-up-guide/connecting-channels/setting-up-facebook-messenger/guidelines-and-restrictions.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
