[Bug] CORS ISSUE with messenger
raymonnguyen opened this issue · 1 comments
raymonnguyen commented
Describe the bug
I'm having CORS issue when call messenger-sdk, do you have any ideas how I can whitelist it? I also fill out the domain in the developer dashboard but the issue still there. Really appreciate your help
How To Reproduce
No response
Screenshots
Relevant Log Output
No response
Code of Conduct
- I agree to follow this project’s Code of Conduct
robmorieson commented
Hi @raymonnguyen — CORS errors generally indicate an issue with domain configuration in Facebook, which requires a domain to be safe-listed, publicly accessible (i.e. no localhost
) and served over HTTPS
. ngrok can be helpful in achieving this locally.
Closing this one as it doesn’t appear to be a bug in the package (you can see the Messenger provider loading without issue on our demo website) but rather an implementation issue to be solved on Facebook’s side.