# Use API to send Facebook message in Thunkable

**URL:** <https://community.thunkable.com/t/use-api-to-send-facebook-message-in-thunkable/266321>\
**Category:** Questions about Thunkable X\
**Created:** [October 10, 2019, 2:41pm UTC](https://community.thunkable.com/t/use-api-to-send-facebook-message-in-thunkable/266321 "2019-10-10T14:41:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hizon\_Pastor](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@Hizon\_Pastor](https://community.thunkable.com/u/Hizon_Pastor)\
**Post date:** [October 10, 2019, 2:41pm UTC](https://community.thunkable.com/t/use-api-to-send-facebook-message-in-thunkable/266321/1 "2019-10-10T14:41:09Z")

</div>

I am currently making an app that can integrate facebook messages specifically send and receive facebook messages using Web API Component, I found that to send a message you have to submit a post request to the API with your page access token appended to the URL query string  
`https://graph.facebook.com/v4.0/me/messages?access_token=<your-accesstoken>`  
but the body of the HTTP request is sent in JSON format, so I convert this JSON  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/d/7d6c63c45deffbea6aa4573611dcd284ace40f76.png)  
to a block that thunkable can read and ended up making these blocks

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/d/4dec0d871df17cc2b86f91dbf73020b4650cdcbd.png)  
I’ve tried testing it but I get an error message (#100) The parameter recipient is required, I am very confuse at this point, what should I do? is there another way to send and receive facebook message?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 14, 2019, 2:47pm UTC](https://community.thunkable.com/t/use-api-to-send-facebook-message-in-thunkable/266321/2 "2019-10-14T14:47:25Z")

</div>

Use this component

[https://docs.thunkable.com/share](https://docs.thunkable.com/share)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 12, 2020, 4:58pm UTC](https://community.thunkable.com/t/use-api-to-send-facebook-message-in-thunkable/266321/3 "2020-03-12T16:58:03Z")

</div>

Did you ever get this to work? @Hizon_Pastor

---

<div class="post-metadata">

**Author:** ![Hizon\_Pastor](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@Hizon\_Pastor](https://community.thunkable.com/u/Hizon_Pastor)\
**Post date:** [March 16, 2020, 1:19pm UTC](https://community.thunkable.com/t/use-api-to-send-facebook-message-in-thunkable/266321/4 "2020-03-16T13:19:15Z")

</div>

Unfortunately I haven’t and I would be very please if someone actually made it

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:40am UTC](https://community.thunkable.com/t/use-api-to-send-facebook-message-in-thunkable/266321/5 "2024-11-08T11:40:21Z")

</div>


