Hi, So, I know that Facebook provides its users with a code that they add on their site to have the Facebook massager chat active. But I and find any tutorial on how to do it or from where to get that code. Can anyone help me?
@Nizam18Mar 30.2020 — #To install the Messenger chat widget on your website, click the blue Install JavaScript Snippet button. Enter the website URL where you'll be installing this chat plugin and click Add. Then click Next. ManyChat will automatically generate the code you need to paste into your website. Click the Grow Tab in the left sidebar. On the Growth Tools page, find Customer Chat Plugin for Your Website and click Enable below it. In the pop-up window, enter the URL for the website where you plan to install this Messenger chat plugin. Then enter the ref parameter you added above. When a user starts a live chat with your Messenger chat plugin, your bot will send users this message block containing the live chat plugin. The code for this chat plugin is automatically generated for you, so click Copy to copy it to your clipboard. You’ll then paste this code into the Header section of your WordPress site; see section #3 below for details.
For fully working messenger code from FB, you must edit header.twig, which is inside your panel admin/theme/theme modification, then click common and search header.twig. Next we put the code under this: {% for script in scripts %}, then paste code and save.