microsoft / 30daysof

30 Day of Learning Resources, Samples and Curricula
https://aka.ms/30DaysOf
MIT License
169 stars 56 forks source link

I am unable to work with OAuth for WhatsApp Cloud API #96

Open juliamuiruri4 opened 1 year ago

juliamuiruri4 commented 1 year ago

Submitted By

@aaryan2134

_## Your Role

What is your role in this learning context?

  • Student
  • Career Switcher
  • Professional Developer_

For Product

What do you have feedback on?

  • A Microsoft Service
  • A Microsoft Tool
  • A Technology Topic Specify a name and share a link to the learning resource you were using

Description

(1-2 lines that describe the topic or focus of your feedback)

I am unable to work with OAuth for WhatsApp. I have tried the facebook connector on Power Platform and that also is not working for me

Details

(Use this section to provide more details on the feedback if possible)

Currently I am able to use the API on postman completely fine. I am unable to work with OAuth for Facebook

On Facebook side, I have created an App with WhatsApp API and Facebook Login Functionality enabled. I have created OAuth connection by providing App ID and secret in the custom connector and then creating a connection by providing the authorization token.

These are the images of the connector ...

Error ....


aaryan2134 commented 1 year ago

Error

I created the following Connector Request image

I am getting this error message image

I am building a connector for WhatsApp Cloud API image image The above are the connector details that I have provided in the Connector Creator wizard For OAuth, I provided by token for creating the connection

aaryan2134 commented 1 year ago

The same credentials and request details are working on my postman request

juliamuiruri4 commented 1 year ago

This appears to be an issue on stack overflow already. Check out the conversation here: https://stackoverflow.com/questions/38805105/message-unsupported-post-request-object-with-id-does-not-exist-cannot-be-l

Cc. @aaryan2134

juliamuiruri4 commented 1 year ago

@aaryan2134 Were you able to achieve this?

aaryan2134 commented 1 year ago

No. I tried the suggested methods but still getting same issue