Posts under category Meta & Facebook

I'm implementing a whatsapp like chat using whatsapp business api.

There is the 24 hours rule where, in order to send a message to a whatsapp number, you need to send an approved template first. Afterwards, as soon as the user reply, the business account can send free form messages for the next 24 hours.

When a free form message is sent, the api returns this type of json:

{   "messaging_product": "whatsapp",   "contacts": [     {       "input": "<WHATSAPP_USER_PHONE_NUMBER>",       "wa_id": "<WHATSAPP_USER_ID>"     }   ],   "messages": [     {       "id": "<WHATSAPP_MESSAGE_ID>"     }   ] } 

However, this json does not guarantee that the message was delivered if sent outside of 24 hours. This json is always returned whether the conversation is open or not, and this doesn't help much.

So do you know if there is an api call that can tell me if the conversation is still open with the user?

The API call below should show a message with a body and two buttons. However, this is not visualized correctly on the WhatsApp Desktop (Mac OS X). The buttons don't show at all, only the body is displayed. My version is 24.2.75 (560133088). If I check this same message on WhatsApp Web and on my iPhone, the buttons are there.
{
"messaging_product": "whatsapp",
"to": "{{testing_number}}",
"recipient_type": "individual",
"type": "interactive",
"interactive": {
"type": "button",
"body": {
"text": "This is the body"
},
"action": {
"buttons": [
{
"type": "reply",
"reply": {
"id": 0,
"title": "Button 1"
}
},
{
"type": "reply",
"reply": {
"id": 1,
"title": "Button 2"
}
}
]
}
}
}

After successfully completing all the necessary steps to publish my app, I encountered an issue. Upon clicking the publish button, the button became disabled, and nothing occurred. The console displayed the following error message: "ErrorUtils caught an error: Minified invariant #37340; Params: app_id, Int, FBID."

https://developers.facebook.com/docs/instagram-basic-display-api/guides/long-lived-access-tokens Followed this guide and try to exchanged the token, this endpoint "https://graph.instagram.com/access_token?grant_type=ig_exchange_token" is returning an empty response without giving me back a 400
I wonder whats going on with the endpoint. It used to work, but stopped working today, is it because the APP is in review and the dev mode is on? In the past it used to work. (my APP has the "instagram_graph_user_profile" permission already )