| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 7069 |
| Technical Name |
d_social_facebook_messenger |
| License | OPL-1 |
| Website | https://duong-odoo-apps.odoo.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 7069 |
| Technical Name |
d_social_facebook_messenger |
| License | OPL-1 |
| Website | https://duong-odoo-apps.odoo.com |
Facebook Messenger Connector
Turn Facebook Messenger into a Customer Service Channel
Connect Facebook Messenger with Odoo Community Edition and manage all conversations directly from the Discuss interface. This module brings real-time two-way messaging between your Facebook Page and your Odoo users.
Your support and sales teams can handle Messenger conversations without switching between platforms.
Two-Way Messaging
Handle Messenger chats end-to-end inside Odoo:
- Receive messages from Facebook customers in real-time
- Reply directly from the Odoo Discuss interface
- Support for the Facebook 24-hour messaging window policy
- Message status tracking (sent, delivered, read)
This ensures that all customer conversations are stored and tracked in your Odoo database.
Smart Conversation Management
Keep your Messenger inbox organized and assign responsibilities:
- Automatic conversation threading per customer
- Customer profile integration in Odoo
- Conversation history accessible from the channel
- Assign chats to specific team members
- Multi-operator support for busy teams
Teams can collaborate on conversations and ensure nothing is missed.
Real-Time Notifications
Stay informed about incoming messages and activity:
- Webhook integration for instant delivery of messages
- Unread counters in Odoo channels
- Browser notifications for new messages
- Operator availability tracking
Your team can react quickly and reduce response times for Messenger inquiries.
Use Cases
Typical scenarios where Facebook Messenger integration is useful:
- Customer support and after-sales service
- Pre-sales questions and product information
- Lead qualification from Facebook campaigns
- Order status and shipping updates
All conversations remain accessible in Odoo for reporting and follow-up.
Documentation
Please open the Documentation tab on the right side of this page to see how to configure the Facebook App and Messenger integration in Odoo.
Support Email
Contact us for support at duongodooapps@gmail.com
Facebook Messenger Connector Setup
This guide explains the extra steps needed to enable Facebook Messenger in Odoo, on top of the base Facebook Pages setup from the d_social_facebook module.
Prerequisites
- Facebook Business app already created on Facebook for Developers https://developers.facebook.com/
- Facebook Pages integration configured in Odoo (see https://apps.odoo.com/apps/modules/18.0/d_social_facebook).
1. Add Messenger Product
- Open your app in Facebook for Developers https://developers.facebook.com/
- In Products, click Add product.
- Add Messenger.
Example:
2. Configure Webhook Callback URL
In the Messenger product, go to Messenger > Settings.
Under Webhook / Callback URL, set:
Callback URL:
https://your-odoo-domain.com/messenger/webhook
Verify Token: choose a secure string (for example my_odoobot_messenger_token).
In Odoo, go to Settings > Companies (or the Facebook Messenger settings for the company) and fill the same value in the field used for the Messenger webhook verify token.
Back in Facebook, click Verify and Save to validate the callback URL.
Example configuration:
3. Register Webhook Events
Still in the Messenger settings, under Webhook events, subscribe at least to:
- messages
- message_deliveries
- message_reads
- messaging_postbacks
- messaging_reactions
- messaging_optins
- messaging_referrals
Then select the Facebook Page(s) you want to receive events for.
Example events:
4. App Mode and Review
For real users to send and receive messages through your app:
- The app must be switched to Live mode.
- You should request the required permissions for Messenger in App Review > Requests, otherwise only developers, testers and the Page owner can use the integration.
5. Enable Messenger on Social Account in Odoo
- In Odoo, go to Social Marketing > Social Accounts.
- Open the Facebook Page account you want to enable Messenger for.
- Go to the Messenger tab.
- Enable the Messenger option (for example "Enable Messenger").
- Click the Register button.
Odoo will use the Facebook APIs to subscribe the Page to your Messenger webhook and register the needed events.
Example in Odoo:
6. Test the Integration
- From Facebook, send a message to the connected Page from a personal account.
- In Odoo, open Discuss and locate the corresponding Messenger conversation channel.
- You should see the incoming message and be able to reply.
If messages are not delivered for normal users, check that the app is Live and the required permissions for Messenger have been approved.
Example conversation:
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module