Refused to display… frame-ancestors https://www.facebook.com

前端 未结 10 1088
一个人的身影
一个人的身影 2020-12-28 12:45

I have included Facebook customer chat plugin on my website. It works fine for the first day. From the second day, it\'s not working. I have seen an error message in Google

相关标签:
10条回答
  • 2020-12-28 13:09

    the issue is not about whitelisting mistake or something else. its about google chrome browser issue. if you open with firefox then there is no problem with the messenger chat. i think it is something wrong with chrome.

    0 讨论(0)
  • 2020-12-28 13:11

    I had the same problem. If you click that in the console you'll see it says: Parameter page_id: Invalid id: <107153046051560>

    The problem was simply the <>. I removed that so its:

    And it worked. Hope it works for you too. Regards

    0 讨论(0)
  • 2020-12-28 13:15

    You didn't mention anything about using additional plugins or CMS. Are you using plain PHP or CMS like WordPress? I wonder there might be an issue with your incorrect configuration. Please Re-check your Facebook Page Id. For any additional plugin, make sure to turn it on.

    0 讨论(0)
  • 2020-12-28 13:21

    As evidenced by all these answers, this could be happening for several reasons.

    However, one condition that will lead to this error that I have experienced but have not seen listed here is if you load the page while logged in as a Test User.

    0 讨论(0)
  • 2020-12-28 13:22

    There are several things:

    1. Ensure Facebook page is Published
    2. Under Facebook page settings (Messenger Platform), add your domain. MUST be https:// Make sure domain name matches exactly including www (or lack thereof).
    3. Use correct app_id
    4. Use this page_id (from steps 3 and 4)

    If chat plugin works for you and no one else, it's probably because you're logged into FB and you're the page admin. Check steps 1 & 2.

    0 讨论(0)
  • 2020-12-28 13:25

    In the "Set Up Customer Chat page" make sure FINISH button is already clicked. If FINISH button is grey, click SAVE button first

    0 讨论(0)
提交回复
热议问题