Title: Chat doesnt load -&gt; Violates Content Security
Last modified: May 6, 2021

---

# Chat doesnt load -> Violates Content Security

 *  Resolved [hhpc](https://wordpress.org/support/users/hhpc/)
 * (@hhpc)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/chat-doesnt-load-violates-content-security/)
 * hi
 * so i install this plugin few days back.. when checking the site, it was working
   well. But it stopped working. So here is some details for this developers.
 * 1) Chat loads when i am logged in wp-admin but if not logged in or incognito 
   mode, chat doesnt work. [https://home.topkidzfiji.com/](https://home.topkidzfiji.com/)
 * 2) Lighthouse is reporting an issue with the chat script. Since its a 3rd parties
   script (not on your server but rather on fb server), we are getting issues with
   Content security policy.. See the link below
    “Refused to frame ‘[https://www.facebook.com/&#8217](https://www.facebook.com/&#8217);
   because an ancestor violates the following Content Security Policy directive:“
   frame-ancestors [https://www.facebook.com&#8221](https://www.facebook.com&#8221);.”
 * Source: [https://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fhome.topkidzfiji.com%2F&strategy=desktop&category=performance&category=accessibility&category=best-practices&category=seo&category=pwa&utm_source=lh-chrome-ext](https://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fhome.topkidzfiji.com%2F&strategy=desktop&category=performance&category=accessibility&category=best-practices&category=seo&category=pwa&utm_source=lh-chrome-ext)
 * 3) Just fix this issue please. i can see many people have complained and yet 
   FB is saying to clear the cache. to FB chat developers, get off your bum and 
   do your own investigation.. You would have figured out the issue by now..
 * Thank You
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchat-doesnt-load-violates-content-security%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Facebook](https://wordpress.org/support/users/facebook/)
 * (@facebook)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/chat-doesnt-load-violates-content-security/#post-14409638)
 * Hi [@hhpc](https://wordpress.org/support/users/hhpc/),
 * We actively help everyone who posts seeking support on this forum. There’s really
   no need to be rude.
 * As for your case, it’s actually covered in the FAQ: Your Facebook Page is region-
   gated.
 * If the Facebook Page connected to the plugin has any restrictions applied (age,
   or location), then the plugin will only display for users who:
 * a) Are logged in to Facebook in that browser,
    and b) Pass the restrictions successfully(
   i.e. are of sufficient age, or in the target region(s)).
 * If you’d like the Chat plugin to be available to all visitors (including those
   not logged in to Facebook), then the region restrictions should be removed. This
   can be done by a Page admin, via the Page settings.
 * Hope this helps,
 * Facebook Team
 *  Thread Starter [hhpc](https://wordpress.org/support/users/hhpc/)
 * (@hhpc)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/chat-doesnt-load-violates-content-security/#post-14410684)
 * Cool.. yes that was it.. restriction.. removed them all

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Chat doesnt load -> Violates Content Security’ is closed to new replies.

 * ![](https://ps.w.org/facebook-messenger-customer-chat/assets/icon-256x256.png?
   rev=2398892)
 * [Facebook Chat Plugin - Live Chat Plugin for WordPress](https://wordpress.org/plugins/facebook-messenger-customer-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-messenger-customer-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-messenger-customer-chat/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [hhpc](https://wordpress.org/support/users/hhpc/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/chat-doesnt-load-violates-content-security/#post-14410684)
 * Status: resolved