Unverified Commit d85f5ff4 authored by Faria Masood's avatar Faria Masood Committed by gitbook-bot
Browse files

GitBook: [master] 643 pages and 3 assets modified

parent 1f7f71ed
---
description: >-
If your organization wishes to communicate with users of Facebook, you can
enable an integration within Rocket.Chat to do so.
---
# Facebook Messenger
If your organization wishes to communicate with users of Facebook Messenger, you can enable an integration within Rocket.Chat to do so. First, you will need to request an API key from Rocket.Chat Support, then set it up within your Administration area.
First, you will need to request an API key from Rocket.Chat Support then set it up within your Administration area.
## Requesting an API key
......@@ -8,11 +14,33 @@ Send an email to [omni@rocket.chat](mailto:omni@rocket.chat) to request an API k
## Setting up the integration
1. In Administration, select Livechat and enable it if it isn't already.
2. On that same page, find the Facebook section. Enable the Facebook integration and enter your Key and Secret. Save the changes. ![](../../../.gitbook/assets/image1.png)
3. Return to the main Rocket.Chat interface. Under the same disclosure button where you find Administration, you'll now see Livechat settings. Click on it. ![](../../../.gitbook/assets/image2.png)
4. Select Facebook Messenger and click Enable. You'll be prompted to log in. Be sure to use the credentials that are tied to the page you wish to receive messages from. You'll have to do a standard Facebook OAuth login and grant your Rocket.Chat instance access to your pages.
5. Once you're returned from Facebook you'll see a list of the pages associated with that account. If you see none, make sure that account has pages, then click RELOAD PAGES.
6. Enable the pages you'd like to get messages from. ![](../../../.gitbook/assets/image3%20%281%29.png)
7. Return to the main interface. Now any livechat agents you have \(These can be set from those same Livechat settings you were just in under User Management\) will see any incoming chats from that page. Responses go back to Facebook as if you were using Messenger itself.
1. Go to **Administration.**
![](../../../.gitbook/assets/image%20%2830%29.png)
2. Search '**OmniChannel'** in **Settings** and on the **OmniChannel Administration Settings** page, find the **Facebook** section.
3. Enable Facebook integration.
4. enter your _OmniChannel API Key_ and _OmniChannel API Secret_. **Save** the changes.
![](../../../.gitbook/assets/image%20%2847%29.png)
5. Return to the main Rocket.Chat interface. Go to Omnichannel panel settings, as shown below:
![](../../../.gitbook/assets/0%20%287%29.png)
5. Select Facebook Messenger and Enable. You'll be prompted to log in. Be sure to use the credentials that are tied to the page you wish to receive messages from. You'll have to do a standard Facebook OAuth login and grant your Rocket.Chat instance access to your pages.
6. Once you're returned from Facebook you'll see a list of the pages associated with that account. If you see none, make sure that account has pages, then click RELOAD PAGES.
7. Enabale the pages you'd like to get messages from, as shown below:
![](../../../.gitbook/assets/image%20%2846%29.png)
8. Return to the main interface. Now any livechat agents you have will see any incoming chats from that page. Responses go back to Facebook as if you were using Messenger itself.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment