---
title: Facebook Messenger
slug: facebook-messenger
docTags: 
createdAt: 2024-12-19T13:10:31.666Z
---

This guide outlines the steps to integrate Facebook Messenger with Sanoflow.

# Getting Here

- **Log in to your Sanoflow account.**
- From the left-hand menu, go to **Settings > Integrations.**
- Click on **Add Channel**.

# Steps to Add Facebook Messenger to Sanoflow

1\. **Choose Facebook**

- In the list of messaging channels, locate **Facebook** and click on the **+** **Add** button.

2\. **Log in to Your Facebook Account**

- A new window will open asking you to log in to your Facebook account.
- **Enter your credentials** (email/phone number and password).

3\. **Grant Sanoflow Access**

- After logging in, you will be prompted to allow Sanoflow to have access.
- Click **Continue** to proceed.

4\. **Select Pages to Access**

- Choose the Pages you want Sanoflow to access.
  - **Option 1:** Opt-in to all current and future Pages. (Easier if you only have one Facebook page.)
  - **Option 2:** Opt-in to current Pages only and manually select specific Pages.
- Click **Continue** after making your selection.

5\. **Select Businesses to Access**

- Choose the businesses you want Sanoflow to access.
  - **Option 1:** Opt-in to all current and future businesses. (Easier if you only have one Meta business account.)
  - **Option 2:** Opt-in to current businesses only and manually select specific businesses.
- Click **Continue** after selecting.

6\. **Finalize Permissions**

- Review and confirm all requested permissions.
- Click **Save** to complete the integration process.

7\. **Test the Connection**

- After you click Save, the pop-up window will close and show you Sanoflow's settings page again.
- A smaller window will pop up inside of Sanoflow asking you to choose and name the channel. You can simply name it "Messenger" since the name is for internal use only.
- Test by sending and receiving a message via the integrated Facebook Messenger channel.

# Common Issues and Troubleshooting

1. **Error During Integration**
   - **Issue:** Unable to connect Facebook account or grant permissions.
   - **Solution:** Ensure the Facebook account has admin access to the page, and all permissions are granted during the setup process.
2. **Messages Not Sending or Receiving**
   - **Issue:** Conversations fail to load, or messages do not deliver.
   - **Solution: &#x20;**&#x46;irst, ensure you have Admin access to the Meta Account. Then update the access token following these steps:
     - Go to Settings in Sanoflow
     - Click on Integrations&#x20;
     - Click on the button "Manage" on the far right of the Messenger channel
     - Click on "Troubleshoot"&#x20;
     - Click on the "Fix" button; it should take you to a Facebook login page.
     - Follow the steps by clicking on Reconnect, then Submit.
     - Your integration should be back to normal now.
   - ***Tip:&#x20;****It is advised to refresh the token twice a month to ensure no disruption is caused.*
3. **Missing Connected Pages**
   - **Issue:** A connected page is not appearing in the integration list.
   - **Solution:** Ensure the page is linked to your Business Manager and that the correct account is used during setup.

# FAQs

1. **What is the Messenger integration used for in Sanoflow?**&#x20;
   - The Messenger API allows businesses to integrate their Messenger chats with Sanoflow, enabling seamless customer interaction, automation, and message tracking.
2. **What are the prerequisites to integrate Messenger with Sanoflow?** To integrate, you need:
   - A Meta Business account.
   - Admin access to the Facebook Page you want to connect.
3. **Can I connect multiple Messenger accounts to Sanoflow?**&#x20;
   - Yes, you can connect multiple Messenger accounts by following the integration steps for each Page at a time.
4. **What happens if I opt for "Current and Future Pages" during setup?**&#x20;
   - Selecting "Current and Future Pages" gives Sanoflow access to all Pages you currently manage and any Pages you create in the future.
5. **How can I verify that the Messenger integration is successfully connected to Sanoflow?**
   - Once connected, you can test the integration by sending and receiving messages through Messenger.
   - Note: Ensure your teams have access to the new channel from the Users >> Teams menu.
6. **What are the typical issues encountered during Messenger integration?** Common issues include:
   - Lack of admin permissions for the Facebook Page.
   - Expired or missing access tokens.
7. **What if I don't want Sanoflow to have access to all Pages in my account?**&#x20;
   - During setup, select "Opt-in to Current Pages Only" to limit access to specific Pages.
8. **How often do I need to renew API tokens for Messenger integration?**&#x20;
   - API tokens may need renewal based on Meta's token expiration policy. Sanoflow will notify you if a token renewal is required to maintain the connection.

