How to add a Facebook Messenger chat button to WordPress - Step-by-step guide

Ruben Buijs

Founder & Digital Consultant

Written on Jul 11, 2023

Updated on Sep 14, 2023

2 minutes


In this article, we’ll explain everything you need to know about integrating Facebook Messenger into your WordPress blog so your readers can chat with you directly from their mobile devices – without ever leaving the site!

Table of contents

  1. What Is Facebook Messenger?
  2. Why Would You Want to Integrate Facebook Messenger and WordPress?
  3. How to add a Facebook Messenger chat to WordPress for free?
  4. Conclusion

What Is Facebook Messenger?

Facebook Messenger is a free instant messaging and voice-calling platform. It allows users to stay in touch with friends and family, share information, and hold video chats easily from their mobile devices. Additionally, it’s one of the most popular social media apps that has seen tremendous growth over the years. While you can use Facebook Messenger without even having an account, the app is available on iOS, Android, Amazon Fire Phone, Windows 10, and Mac computers. The integration with WordPress isn’t limited to just blogs as well – you can integrate it into your own website or e-commerce stores as well!

Why Would You Want to Integrate Facebook Messenger and WordPress?

WordPress is a great platform because it allows users to quickly and easily build websites that are both visually appealing and feature-rich. With Facebook Messenger integration, you can extend your reach beyond just your website. You can use this integration to provide information or even advertise your business on Facebook messenger. This is especially relevant if you want to generate leads from your visitors.

How to add a Facebook Messenger chat to WordPress for free?

The first step is to sign up for a Facebook Messenger account. If you don’t have one, you need to create a Facebook account first. Go to and click Create New Account. Enter your name, email or phone and login credentials. Click Sign Up. To finish creating your account, you need to confirm your email or mobile phone number.

The next step is to let your users know how they can find your Facebook Messenger account on your website and blog. You can opt for any of these methods:

There are two methods:

  1. Integrate WordPress and Facebook Messenger using a link (simple)

  2. Integrate with Facebook Messenger chats using Boei (simple)

1. Integrate WordPress and Facebook Messenger using a link

For this to work, you need to create a button on your website.

To open Facebook Messenger, you can use the following link format.<reference>

You can replace <reference> with a page ID, or with a username.

2. Integrate WordPress and Facebook Messenger chat using Boei

Boei lets your customers chat with you via their favorite channels like WhatsApp, Facebook Messenger, Viber, Slack, Telegram, and many other chat channels.

When you set up Facebook Messenger on Boei, it will look like this:

In Boei, you can create a new (so-called) helper for Facebook Messenger. Here you can fill in your page ID or Facebook username.

Next to Facebook Messenger, you can also add many other channels (like WhatsApp, Facebook Messenger chat or Telegram, see here). Or even an embedded contact form and newsletter subscription.

Boei is super easy to install, 👉 Boei plugin on

Also, Boei is super lightweight and does not need to use a heavy Javascript library.


By integrating Facebook Messenger into your website, you'll be able to provide a more interactive experience for your customers. And by utilizing this new functionality, you'll be able to reach the millions of people on Facebook Messenger every day.

Article by

Ruben Buijs

Ruben, the founder of Boei, leverages over a decade of consultancy experience at Ernst & Young to optimize lead generation. Boei specializes in converting website visitors into qualified leads. Outside of work, Ruben is passionate about crossfit and enjoys gaming occasionally.

Read more

How to Set WhatsApp Auto Reply Message: Ultimate Guide 2024

Discover how to set up auto-reply messages in WhatsApp Business App. Use the power of WhatsApp to automate your reply.

Instagram Business Chat: A Complete Guide (2024)

Discover how to leverage Instagram business chat and effectively message customers on this popular social media platform.

Add Facebook Messenger live chat widget to your website (2024)

Add Facebook Messenger live chat plugin on your website. Use Business Messenger to your website and support customers with Facebook chat plugin.

Create your first Boei widget now

Get 20% more conversations and turn them into customers easily.
You don't need take our word for it, just try for free!



Trusted by 10,000+ businesses

Quick 5-min, no code setup

Jordi Ibrahim Dan Renaat Fran Nitesh