If the Facebook Messenger opt-in checkbox does not show up in your widget:
- Right-click on the page
- Click “Inspect”
- Select “Console"
At that point, you will see one of the following errors:
- “ Cannot read property 'LogEvent' ...”. It means that you’re using an old version of Facebook SDK: The system cannot properly read ‘LogEvent’ because you are using an old version. You should replace the call made to:
In this case en_US is just an example it could be something else like fr_fr for example.You need to replace all.js with sdk.js
- "Refused to display *** in a frame because an ancestor violates the following Content Security Policy directive: ***". It means that Facebook does not accept the website domain: The checkbox is not displaying because an ancestor violates Facebook’s Content Security Policy. In this case, you should contact our team at firstname.lastname@example.org or login to the app and chat with us now.