Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Magento 2 Facebook Messenger Chat

    Magento 2 Facebook Messenger Chat: Using this extension, the admin of the Magento 2 webstore will be able to integrate Facebook messenger within his webstore thus allowing the customers to chat with the admin.

    Hence, after configuring the extension, the Facebook Messenger widget will be visible at the webstore frontend.


    • Allow admin to enable or disable Facebook messenger chat
    • Allow admin to set theme of Facebook messenger chat
    • Custom color theme can be set by the admin.
    • The admin can set logged in greeting message of Facebook Messenger Chat.
    • Allow admin to set logged out greeting message of Facebook messenger chat


    Follow the below steps for installing the extension –

    First Step:

    Unzip the respective extension zip and and then move “app” folder (inside “src” folder) into magento root directory on the server.

    Second Step:

    Now, run the below-mentioned commands in the Magento 2 root directory via terminal.

    1st Command- php bin/magento setup:upgrade

    2nd Command- php bin/magento setup:di:compile3rd Command- php bin/magento setup:static-content:deploy

    Third Step:

    Lastly, flush the cache and re-index all by navigating through System->Cache management.

    Module Configuration

    After the successful installation of the extension, the admin will configure the module. Hence, to do so, navigate through Stores->Configuration->FB Messenger Chat Module.

    Here, the admin will –

    • Enable:
      Select Yes to enable the extension else select No to disable it.
    • FB Page Id:
      The admin needs to enter the page ID of the page that the admin wants to integrate with the Magento 2 store.
    • Logged In Greeting
      Enter the greeting message that will get displayed on login.
    • Logged Out Greeting
      Enter the greeting message that will get displayed on logout.
    • Theme Color
      Enter the theme color for the messenger.

    How to Get the Facebook Page ID?

    The admin will login to his Facebook account. Hereafter, create a new page or select an existing page by navigating to Pages section.

    So,now, select the page for which the admin wants the page Id.

    Now, after reaching the required page navigate to it’s About Page.

    However, here the admin will be able to find the Page ID.

    How to Add Magento 2 Store  to Your Facebook Page?

    On the Facebook page, the admin will navigate to the top right-hand settings section.

    On the setting page in the Left Navigation Drawer, the admin needs to select the Messaging.

    After this, scroll down and navigate to the section “Add Messenger to your website”.

    Here click the “Get Started” and tap the Next button.

    Choose the default Language and Greeting Messege. Thus, tap the Next  button as per below image.

    Henceforth, now, select when can people expect a response.

    Now, selecting an appropriate one. However, if the admin want to change the appearance color of the messenger icon then change it, and lastly tap the Next button.

    After this, we have to add the website or the domain name where we will be using this Facebook Messenger.

    So, this will allow the customer to see the messenger icon at the store frontend.

    Workflow – Store Frontend

    The customers will be able to see the messenger icon on the webstore frontend.

    So, if the customer is not already logged into Facebook then he can see the “Log Into Messenger” button as shown below in the snapshot.

    Tapping the Log into Messenger button, a pop-up window will appear. Thus, allowing the customer to enter his email address and the password to continue.

    So, after login, the customer will be able to chat with the admin of the store as shown below in the snapshot.

    Thus, apart from allowing the chat, the customers can also send in images, and send likes.

    Information Icon

    Hereafter, clicking on the Information Icon(i) on the top right-hand header of this chat window there area few options as shown below in the snapshot.

    Here, we have few options to check –

    1. Turn On/Off Messages:
      Turning this option to On will allow the message transmission. However, setting it as No stops message transmission.
    2. Mute Conversation:
      If this option is enabled then the customer will be able to mute the conversations.
    3. View On Messenger:
      Clicking this link will redirect the customer to the installed Facebook messenger on his mobile device.
    4. Visit Facebook Page:
      Clicking on this option will redirect to the Facebook page for which configuration has been made.
    5. Add Messenger to Your Website:
      Redirects to the “Add Messenger to your website” page. Thus, here you can know how the messenger works.

    So, that’s all for the Magento 2 Facebook Messenger extension. Still have issues, get back to us at or send in a ticket at

    Current Product Version - 3.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    . . .


    Add Your Comment

    Be the first to comment.

    Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again

    Table of Content

    Hide Index