$ 70.91
In-App Purchases| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Social Marketing (social)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 4890 |
| Technical Name |
d_ee_social_facebook_messenger |
| License | OPL-1 |
| Website | http://messiduong2709@gmail.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Social Marketing (social)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 4890 |
| Technical Name |
d_ee_social_facebook_messenger |
| License | OPL-1 |
| Website | http://messiduong2709@gmail.com |
EE Social Facebook Messenger
Manage Facebook Page conversations directly in Odoo Enterprise
Connect your Facebook Page inbox to Odoo Discuss, reply from the same workspace your team already uses, and keep every customer conversation tracked in Odoo.
Two-Way Messenger Conversations
Handle Page messages from Odoo without switching between tools.
- Receive Facebook Messenger messages in real time through Meta webhooks.
- Reply from Odoo Discuss channels using the connected Page identity.
- Track outbound message states including sent, delivered, read, and failed.
- Respect the Messenger 24-hour customer messaging window.
Conversation Management
Give support, sales, and operations teams a shared Messenger inbox inside Odoo.
- Create one Discuss channel per Messenger customer conversation.
- Assign Messenger operators from the Social Account configuration.
- Link conversations to Odoo partners using Messenger PSIDs.
- Download conversation history and monitor sync jobs.
Meta Utility Messages
Use Meta-approved utility messages for transactional updates that need to be sent outside the normal conversation window. read more about utility template: https://developers.facebook.com/documentation/business-messaging/messenger-platform/send-messages/utility-messages
- Create utility message definitions with body, header, and button URL variables.
- Submit messages to Meta and track approval status from Odoo.
- Search and clone supported templates from Meta's library.
- Send approved messages from chatter or from Odoo server actions.
Documentation
Please go to documentation tab in the right side to see how to configure meta developer app and in odoo as well
Support
For support, feature requests, or custom development, contact messiduong2709@gmail.com.
EE Social Facebook Messenger Setup
This guide explains how to enable Facebook Messenger conversations in Odoo Enterprise with the d_ee_social_facebook_messenger module.
Prerequisites
- Odoo Enterprise with Social Marketing enabled.
- A Meta developer app at https://developers.facebook.com/.
- A Facebook Page connected to Odoo through the base Facebook social integration.
- Administrator access to the Facebook Page and Meta app.
- A public HTTPS Odoo URL reachable by Meta webhooks.
- Meta permissions required by the module, including pages_messaging and pages_utility_messaging when utility messages are used.
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 Social Account 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. Re-authorize the Facebook Page in Odoo
The module extends the Facebook authorization scope with Messenger permissions.
- In Odoo, open the Facebook social media configuration.
- Link or re-link the Facebook Page account after installing this module.
- Confirm the Page token is refreshed with Messenger permissions.
6. Enable Messenger on the Social Account
- Go to Social Marketing > Configuration > Social Accounts.
- Open the Facebook Page account.
- In the Facebook Messenger section, enable Messenger Enabled.
- Confirm the webhook verify token is filled.
- Add Messenger operators.
- Click Subscribe to Messenger Webhooks.
After subscription, Odoo can receive Messenger webhook events for the Page.
7. Test Two-Way Conversations
- From a personal Facebook account, send a message to the connected Page.
- In Odoo, open Messenger > Conversations or Discuss.
- Confirm the incoming message appears in a Messenger channel.
- Reply from Odoo.
- Check the message status on the Odoo message: sent, delivered, read, or failed.
Messenger standard replies follow Meta's 24-hour messaging window. If the window is closed, wait for the customer to send a new message or use an approved utility message where appropriate.
8. Download Conversation History
- Open the Facebook Social Account.
- In Conversation History, click Download Conversation History.
- Use View Sync Jobs to monitor progress and errors.
History sync downloads conversations and messages in background jobs so large inboxes can be processed safely.
9. Configure Utility Messages
Utility messages are Meta-approved transactional messages. They are the recommended workflow for proactive customer updates.
- Make sure pages_utility_messaging is approved for the Meta app.
- Go to Messenger > Configuration > Utility Templates.
- Create a new utility message definition.
- Choose the target Odoo model and recipient PSID field.
- Add body text, optional header text or image, and optional URL buttons.
- Use variables such as {{1}} in body, header, and URL button suffixes.
- In the Variables tab, map variables to record fields or default values.
- Click Submit to Meta.
- Use Refresh Status or wait for the webhook status update.
- Send only after the status is APPROVED.
Approved utility messages can be sent from:
- the record chatter button, when an approved message exists for that model;
- the utility message form send wizard;
- the Actions menu created from the message form;
- automation/server actions for batch transactional sends.
10. Search and Clone Meta Library Messages
- Go to Messenger > Configuration > Search Meta Library.
- Search by name or content.
- Select a library result.
- Provide the required body or button values.
- Clone it into an Odoo utility message record.
- Review variables and submit or send according to the status.
Troubleshooting
- Webhook verification fails: confirm the callback URL is public HTTPS and the verify token matches Odoo.
- Messages arrive but replies fail: re-authorize the Facebook Page and confirm pages_messaging is granted.
- Reply blocked by policy: check whether the 24-hour customer messaging window is closed.
- Utility message send fails: confirm the Meta status is APPROVED, the Page has pages_utility_messaging, and variables resolve to non-empty values.
- Status does not update: subscribe to message_template_status_update or use Refresh Status.
- History sync errors: open View Sync Jobs and inspect the error message.
Support
For support, feature requests, or custom development, contact messiduong2709@gmail.com.
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