FB.login() just returns {authResponse: null, status: 'unknown'}
I am trying to implement Embed the Signup Flow for WhatsApp. I followed the documentation exactly and used the code provided:
Login with Facebook
However when I click the button, I just get {authResponse: null, status: 'unknown'}
The login window pops up and I can go through it until the end and authorise the app, but I do not get any authResponse object returned. I can still see that the apps granted the permission - when I call the /client_whatsapp_business_accounts endpoint, but I have no way of connecting the business accounts to the specific user on my application who granted the permission, I need to see the response on the page so I can immediately assign the correct profile to the correct person.
What am I missing?
I’m having the same problem. Did you find a solution?
Facing exact same problem and unable to fix it more than 3 days. Did you find any solution for this?
Hi i think here is
const accessToken = response.authResponse.code;
Hi i think here is
const accessToken = response.authResponse.code;