> 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](/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
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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
