Topic-icon Facebook Messenger

Active Subscriptions:

None
7 years 2 months ago #60882 by piersol
Facebook Messenger was created by piersol
I FOUND THE INFO BELOW AND WOULD LIKE TO SEE IF I CAN USE THE ALREADY INSTALLED JFBConNECT PLUGINS TO LOAD THIS MESSENGER BUTTONS OR CHAT BOX


You have seen the Facebook Like box embedded in websites but did you know that the same box can also include an inline form allowing any Facebook user to contact you without even leaving your webpage. Here’s a live demo .

In this case you need to replace “XYZ” in the snippet below with the vanity username or ID of your Facebook Page. Anyone who is logged into Facebook can message you from your website itself, similar to regular contact us forms.
<script>
      window.fbAsyncInit = function() {
        FB.init({
          appId      : '95100348886',
          xfbml      : true,
          version    : 'v2.6'
        });
      };

      (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 = "//connect.facebook.net/en_US/sdk.js";
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
    </script>

    <div class="fb-page" 
         data-href="https://www.facebook.com/XZY/" 
         data-tabs="messages" 
         data-width="400" 
         data-height="300" 
         data-small-header="true">
      <div class="fb-xfbml-parse-ignore">
        <blockquote></blockquote>
      </div>
    </div>
The topic has been locked.
Support Specialist
7 years 2 months ago #60885 by mel
Replied by mel on topic Facebook Messenger
Yes, this is the Page Plugin widget. You can add it with JFBConnect using the SCSocialWidget module or the {SCFacebookPagePlugin} easy-tag. If you need more details on parameters for the easy-tag, look in the JFBConnect backend > Social > Examples area.

-Melissa
The topic has been locked.