We are building a platform for WhatsApp business messaging. For this, we need to test the product catalog messaging APIs.

However, it seems there is no way to do so without creating a public business account and adding a payment method.

Is there a means to access the APIs without going through the above steps? Especially the payment method as we do not wish to start paying for testing our product before going live.

We have created a product catalog and connected it to the WhatsApp business account on an actual phone number. But we cannot send messages without adding a payment method.

I'm trying to make a Laravel task that will publish a picture each week on my page.

Here's my code:

public function postToFacebook($message, $imageUrl): array|string{         try {             $response = $this->fb->post('/me/feed', [                 'message' => $message,                 'link' => "https://google.fr",             ], env('FACEBOOK_ACCESS_TOKEN'));             return $response->getDecodedBody();         } catch(\Facebook\Exceptions\FacebookResponseException $e) {             return 'Graph returned an error: ' . $e->getMessage();         } catch(\Facebook\Exceptions\FacebookSDKException $e) {             return 'Facebook SDK returned an error: ' . $e->getMessage();         }     } 

I already checked content of $message and env('FACEBOOK_ACCESS_TOKEN'), everything is OK.

But I always get :

Undefined array key 1 

on post() method.

I am using "facebook/graph-sdk" package.

Is it mandatory to have a FB app up and running ? Mine is not published, but it is asking me a bunch of things, like Business verification that is not very relevant, as I do it for myself...

Do you have any idea how should I fix the issue ?

So when i create or edit my WhatsApp templates trough meta web portal, it seems that there is kind a problem with call to action buttons and dynamic URL.
My dynamic URL looks like:
https://www.my-website.com.co/payment?reference={{1}}
Where {{1}} is a alphanumeric value, for example:
https://www.my-website.com.co/payment?reference=12345678
But for some reason, when i submit the template, a slash is added between my URL and the dynamic value, so after the revision is confirmed, if go back and edit again the tempate, the slash is added:
https://www.my-website.com.co/payment?reference=/{{1}}
When I use the template to send an message, obviously the button is not working because URL is not well formed:
https://www.my-website.com.co/payment?reference=/12345678
Thing is that this was working fine some weeks ago as I was able to create templates with no slash automatically added, but now is completely broken, there is no way to change it.
I am going to try editing it trough API call, but do not thinks it going to help me.
Attached to this ticket you can find a screenshot for better understanding.
Will appreciate any help in case I am doing something wrong.
Regards. Max B

I'm currently building a portfolio for a social media celebrity using Laravel 11 + vue3 composition API

I am at the point where I created a meta dev account and created an app and setup IG basic display API on it. Now I am not sure if I can fetch that user's posts without obtaining any tokens or anything from their side. Long story short: Can I do something similar to this

Graph.instagram.com/[their_professional_account_id]/media?access_token=[my_app's token]

I don't want to ask them for any access tokens at all as they have 650k+ followers and I don't want to be involved in any access to their professional account.

I tried looking online for demos and examples but had no luck finding any and most articles are all about the deprecated __a?