# Facebook messenger to bubble io website integration

**URL:** <https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275>\
**Category:** APIs\
**Created:** [April 24, 2023, 5:04pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275 "2023-04-24T17:04:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayskipps123](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@ayskipps123](https://forum.bubble.io/u/ayskipps123)\
**Post date:** [April 24, 2023, 5:04pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/1 "2023-04-24T17:04:08Z")

</div>

Hello guys, I’m trying to use the api connector to connect my facebook messenger to my bubble website to be able to receive and send message from the website, any ideas will be highly appreciated

---

<div class="post-metadata">

**Author:** ![anon7950936](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@anon7950936](https://forum.bubble.io/u/anon7950936)\
**Post date:** [April 24, 2023, 6:36pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/2 "2023-04-24T18:36:36Z")

</div>

Hi there,

Nice challenge you are tackling here!

Is this possible by Facebook’s dev documentation?

---

<div class="post-metadata">

**Author:** ![Future](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/future/32/126701_2.png) [@Future](https://forum.bubble.io/u/Future)\
**Post date:** [April 24, 2023, 9:19pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/3 "2023-04-24T21:19:20Z")

</div>

Well… for the lolz… This is the curl command to paste in bubble that chatgpt suggests :

```
curl -X POST -H "Content-Type: application/json" -d '{
  "recipient": {
    "id": "<USER_ID>"
  },
  "message": {
    "text": "hello world"
  }
}' "https://graph.facebook.com/v12.0/me/messages?access_token=<PAGE_ACCESS_TOKEN>"

```

_Make sure to replace `<USER_ID>` with the recipient’s user ID and `<PAGE_ACCESS_TOKEN>` with a valid Page access token for your Facebook Page. You can obtain a Page access token by following the instructions in the Facebook Developer documentation._

---

<div class="post-metadata">

**Author:** ![daviddr17](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daviddr17/32/239174_2.png) [@daviddr17](https://forum.bubble.io/u/daviddr17)\
**Post date:** [April 24, 2023, 9:28pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/4 "2023-04-24T21:28:22Z")

</div>

I guess its working, but the newest version is v16.0. Also I would say there is a little mistake with „me“.

But for the author of the thread its not too difficult to set this up via api connector.

The next step would be to set up webhooks to retrieve new messages immediately.

---

<div class="post-metadata">

**Author:** ![ayskipps123](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@ayskipps123](https://forum.bubble.io/u/ayskipps123)\
**Post date:** [April 24, 2023, 10:07pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/5 "2023-04-24T22:07:21Z")

</div>

There is but I’m finding it a bit difficult to set up

---

<div class="post-metadata">

**Author:** ![ayskipps123](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@ayskipps123](https://forum.bubble.io/u/ayskipps123)\
**Post date:** [April 24, 2023, 11:16pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/6 "2023-04-24T23:16:29Z")

</div>

How do I do this please?

---

<div class="post-metadata">

**Author:** ![daviddr17](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/daviddr17/32/239174_2.png) [@daviddr17](https://forum.bubble.io/u/daviddr17)\
**Post date:** [April 24, 2023, 11:24pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/7 "2023-04-24T23:24:08Z")

</div>

meta has a decent documentation here about their api and webhooks and how to set up everything:

> **[Graph API - Documentation - Meta for Developers](https://developers.facebook.com/docs/graph-api/)**
>
> The Graph API allows you to read and write data to and from the Facebook social graph.

They have also the graph explorer tool, where you can test anything.

---

<div class="post-metadata">

**Author:** ![incomdies](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/incomdies/32/200314_2.png) [@incomdies](https://forum.bubble.io/u/incomdies)\
**Post date:** [April 24, 2023, 11:33pm UTC](https://forum.bubble.io/t/facebook-messenger-to-bubble-io-website-integration/259275/8 "2023-04-24T23:33:16Z")

</div>

Can jump on a call with you for a little fee.
