In my iOS swift application I have implemented a Facebook Sign-in. It worked perfectly. But recently when user try to login it is not redirecting to app after user successfully login. Its stuck in the below view. After click cancel it will call to Login method with fbloginresult.isCancelled. I have updated the SDK also but nothing has changed. Any help is appreciated.

I'm working on sending WhatsApp messages through the Meta (Facebook) Graph API using the following endpoint:

https://graph.facebook.com/v21.0/${{phoneNumber-id}}/messages 

Here is the body

{   "messaging_product": "whatsapp",   "to": "",   "type": "template",   "template": {     "name": "hello_world",     "language": {       "code": "en_US"     }   } } 

However, when I hit the API, I receive the following error response:

{     "error": {         "message": "Unsupported post request. Object with ID '${{phoneNumber-id}}' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",         "type": "GraphMethodException",         "code": 100,         "error_subcode": 33,         "fbtrace_id": "Ap51V1Qjcw1Vh8LJ4aeP0Fm"     } } 

I am using test number provieded by facebook to send messages, I’ve verified my access token and permissions but still encounter this error.

What could be causing this issue? Are there any specific permissions or configurations I might be missing, or is there something wrong with how I’m referencing ${{phoneNumber-id}} in the endpoint? Any help or insights with the WhatsApp API would be greatly appreciated.

'm currently working with the WhatsApp Business API and facing an issue specifically with the "messages" webhook. For some reason, this webhook isn't being triggered, even when I test it manually from the WhatsApp Business dashboard.

Here are the details:

All other webhooks (e.g., status, message_template, etc.) are working perfectly fine. I've tried reconfiguring the webhook URL multiple times. I switched the app back to development mode to see if that would fix it, but no luck. Has anyone encountered a similar issue or have any ideas on how to resolve this?

Additional Information:

I've verified that the server is publicly accessible and can receive POST requests. There are no errors or logs indicating any incoming request for the "messages" webhook on my server. Any help or suggestions would be greatly appreciated!