<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>thread Facebook Messenger Plugin in Online Store</title>
    <link>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/368710#M12463</link>
    <description>&lt;P&gt;Has anyone found a workaround for adding the Facebook Messenger Plugin to our Square website?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we all probably know, the Square Messenger option is not great - It requires users to login to Facebook Messenger and has very limited features.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 16:58:41 GMT</pubDate>
    <dc:creator>DoggFish</dc:creator>
    <dc:date>2022-05-25T16:58:41Z</dc:date>
    <item>
      <title>Facebook Messenger Plugin</title>
      <link>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/368710#M12463</link>
      <description>&lt;P&gt;Has anyone found a workaround for adding the Facebook Messenger Plugin to our Square website?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we all probably know, the Square Messenger option is not great - It requires users to login to Facebook Messenger and has very limited features.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 16:58:41 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/368710#M12463</guid>
      <dc:creator>DoggFish</dc:creator>
      <dc:date>2022-05-25T16:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Messenger Plugin</title>
      <link>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/369005#M12464</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/337225"&gt;@DoggFish&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I remember about this integration from using it on a website I programmed back in march, I'm pretty sure you could just head to&amp;nbsp;&lt;A href="https://square.online/app/website/users/134015847/sites/455169[Redacted]16/dashboard/site-settings/integrations" target="_blank"&gt;https://square.online/app/website/users/134015847/sites/455169[Redacted]16/dashboard/site-settings/integrations&lt;/A&gt;&amp;nbsp;(this link may not work although I would hope it would simply redirect you) and click `+ Add New Code` you can then paste the code in and if it is the script tag which I think it is (would look like `&amp;lt;script&amp;gt;...&amp;lt;/script&amp;gt;`) then you would simply add that to the body of every page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps then please do mark it as best answer to help others in the future!&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 09:14:13 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/369005#M12464</guid>
      <dc:creator>MJD</dc:creator>
      <dc:date>2022-05-26T09:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Messenger Plugin</title>
      <link>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/369007#M12465</link>
      <description>&lt;P&gt;I believe this is the integration you want to embed?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!-- Messenger Chat plugin Code --&amp;gt;
    &amp;lt;div id="fb-root"&amp;gt;&amp;lt;/div&amp;gt;

    &amp;lt;!-- Your Chat plugin code --&amp;gt;
    &amp;lt;div id="fb-customer-chat" class="fb-customerchat"&amp;gt;
    &amp;lt;/div&amp;gt;

    &amp;lt;script&amp;gt;
      var page_id = page_id
      var chatbox = document.getElementById('fb-customer-chat');
      chatbox.setAttribute("page_id", "${page_id}");
      chatbox.setAttribute("attribution", "biz_inbox");
    &amp;lt;/script&amp;gt;

    &amp;lt;!-- Your SDK code --&amp;gt;
    &amp;lt;script&amp;gt;
      window.fbAsyncInit = function() {
        FB.init({
          xfbml            : true,
          version          : 'v14.0'
        });
      };

      (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src='https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
    &amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 May 2022 09:14:44 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/369007#M12465</guid>
      <dc:creator>MJD</dc:creator>
      <dc:date>2022-05-26T09:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Messenger Plugin</title>
      <link>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/369290#M12466</link>
      <description>&lt;P&gt;Thank you for the reply, Matt. Yeah, that is the code. I have tried to add it to that section with the "+ Add New Code", however, it gives me an error message that it isn't a script tag. I think this is because of the &amp;lt;Div&amp;gt; part of the coding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error is "&lt;SPAN&gt;Invalid HTML detected. Only &amp;lt;script&amp;gt; &amp;lt;noscript&amp;gt; &amp;lt;meta&amp;gt; are allowed as root HTML tags"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 01:59:52 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Online-Store/Facebook-Messenger-Plugin/m-p/369290#M12466</guid>
      <dc:creator>DoggFish</dc:creator>
      <dc:date>2022-05-27T01:59:52Z</dc:date>
    </item>
  </channel>
</rss>

