What is the appropriate method for retrieving an access token and phone number ID for a client who has completed the WhatsApp Business Platform embedded signup flow using their Facebook account.
1

Current Understanding:

My understanding is that the embedded signup flow typically involves a redirect to a Meta login page and, upon successful completion, returns an authResponse containing a code. However, in my current scenario, I only have access to this code from the authResponse provided by WhatsApp.

My Request:

I would be grateful if you could clarify the following:

  1. Is there a supported API endpoint within the Meta Graph API where I can send a request using the code from the authResponse to obtain an access token and phone number ID for my client?
  2. If not, are there alternative approaches I can consider to achieve client-side signup for WhatsApp Business Platform through my website, without requiring a pre-registered Meta app and associated credentials?

Additional Information:

Abhinav
Asked about 4 months ago