Support » Plugin: Smart Floating / Sticky Buttons - Call, Sharing, Chat Widgets & More – Buttonizer » Facebook Messenger widget – once it shows up and once it doesn’t

  • Resolved urgul

    (@urgul)


    Hi! First of all thank you for such a great plugin. I consider to buy a pro version but I’ve some issues with Facebook Messenger widget. When I open the page and click on messenger button it shows a popup, when I close this popup and try to open it again it sometimes shows up and sometimes doesn’t (there are more times that it doesn’t show up at all even if I reload the page or load another page of my site). There are even situations that the popup with messenger widget doesn’t show up at all after the page is loaded – I click on the icon several times without any result.

    My site is https://barscy.com – please check the problem.

    Is there a way to solve this problem?

    I added to whitelisted domains https://barscy.com and https://www.barscy.com on FB.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Buttonizer

    (@buttonizer)

    Hi @urgul ,

    Thanks for your support!

    Regarding the delay when closing the Messenger chat box then opening it up again quickly,
    The Facebook Messenger Customer Chat SDK that we are using has a Rate Limit.

    Each function in Customer Chat SDK is limited to 1 call per 5 seconds.

    Source: Rate Limit

    When you click on the Messenger button in Buttonizer, it calls the function to open the chat box. By closing it and clicking on the button quickly, it will take 5 seconds to open up again.

    Regarding when the Messenger chat box doesn’t open up at all,
    It looks like the Messenger SDK sometimes doesn’t find the element that Buttonizer creates to make the chat box. It might be a load order where the Messenger SDK loads earlier than Buttonizer so it couldn’t find the element.

    Could you try placing this function in the header or footer site?
    This should make the Messenger SDK run once Buttonizer is completely loaded:

    <script>
        function buttonizerInitialized() {
            FB.XFBML.parse()
        }
    </script>

    P.S. My adblocker was sometimes blocking the Messeger SDK. If you have an adblocker, could you also try disabling it and see if that works?

    Please let me know if the script works! 🙂

    Hi @buttonizer ,

    thank you so so much for your help and insight information about FB rate limit. After adding your script Messenger widget works like a charm! It opens on every page, every time. I’m very grateful <3 I’ll rate Buttonizer 5 stars for sure.

    I have one more question – is there any way to change a standard FB welcome message in the widget?

    Have a nice day! 🙂

    • This reply was modified 9 months, 3 weeks ago by urgul.

    Unfortunately I’ve found another problem. I’ve added your script to the header. Everything is ok when I have opened only one page of my site. When I open another page in another tab there’s a problem with Messenger widget. Chrome says that the site try to connect to facebook multiple times, the widget opens and immediately closes. When I close the second tab there’s facebook widget opened on the first one. How can I solve this problem? In another words – when I have opened multiple pages of my site in multiple tabs, using of Messenger widget is impossible.

    I’ve bought PRO version. But there’s another problem – when I added your script my site loads, then disappear for a shot while and then appears again. It happens very often (not always but very often). I would like to ask what’s the problem and how to fix it. When I remove the script my page loads without any problems but Messenger widget sometimes works sometimes not.

    Plugin Author Buttonizer

    (@buttonizer)

    Hi @urgul ,

    Thanks for the review!
    We very much appreciate it. 🙂

    Regarding opening the chat box on multiple pages,
    Unfortunately, we can’t do anything about it. It’s a problem with the Messenger SDK.

    This issue seems to only happen when you open the chat box on another tab on the same page on the same browser. If you open the second tab in incognito mode for example, it works correctly.

    Their Customer Chat Plugin is also currently listed as in Beta on their site.

    Regarding changing the welcome message of the chat box,
    We’ve recently updated our system that will allow us to create much more options to Buttonizer.
    We’ll be able to add more Messenger options to in the future. 🙂

    If you have any questions, please let us know!

    Thank you for your reply. Please let me know what about the second problem – I’ve noticed that after adding the script pages of my site load, then disappear for a shot while and then appear again (sometimes it looks like flikering). It happens very often (not always but very often, especially on mobile). I would like to ask how to fix it. When I remove the script my page loads without any problems but Messenger widget sometimes works and sometimes not.

    • This reply was modified 9 months, 3 weeks ago by urgul.

    I have found a solution. I’ve just moved the script responsible for translation FB widget to the footer and the problem was gone. Everything works fine now. I’ve found another problem (in PRO version) – the timeout function does’t work as expected. Sometimes it delays showing the button and sometimes it doesn’t (more times it doesn’t work at all). It’s not so important for me but it’s a bug.

    Plugin Author Buttonizer

    (@buttonizer)

    Hi @urgul ,

    Glad to hear that you found out how to fix the issue!

    We were quite perplexed as to why that was happening since we couldn’t reproduce the error on most of our devices.

    Regarding the timeout function, we can’t talk about it here since it’s a PRO feature.
    We will reply to your post on our community forum explaining the timeout function. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Facebook Messenger widget – once it shows up and once it doesn’t’ is closed to new replies.