Whatsapp Cloud API Update Profile Picture
I'm trying to upload an image as profile picture using WhatsApp Cloud API *.
After creating an application using WhatsApp Cloud API I'm not allowed to access neither using the regular application nor using Business Application. It says something like "try again in one hour". So I have to implement everything using the API.
After reading the docs and importing Postman Endpoints I found the one called Business Profiles > Update Business Profile
https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/whatsapp_business_profile
It has a field "profile_picture_url"
and I have tried POSTing media https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/media
and then with the given ID y used https://graph.facebook.com/{{Version}}/{{Media-ID}}
to get the URL but it didn't work. The rest of the information is updated successfully
{ "messaging_product": "whatsapp", "address": "", "description": "Simple Bot", "email": "...@gmail.com", "websites": [ "https://..." ], "profile_picture_url": "https://lookaside.fbsbx.com/..." }
However if I try to send someone using the ID and the endpoint https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/messages
it works fine. And if I use Download Media Content with the URL in Postman it works fine too.
I don't know if I have misunderstood something or if it can't be done using the API.