Hello MSL
Thanks for reaching out to us, the document you shared is not available. Are you following the document here - https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-facebook?view=azure-bot-service-4.0&tabs=messenger
Could you please check if you set everything correct on both Azure Bot Side and Meta side? Below is a check list you may want to go through -
- Verify Facebook App Settings
Make sure that your Facebook app settings are configured correctly:
App Review Status: Ensure that your Facebook app is in "Live" mode. If it's in development mode, your bot won't be accessible to users other than developers and testers.
Page Roles: Make sure that the Facebook user account you are using to test the bot is listed as an admin, developer, or tester for the Facebook page associated with your bot.
- Test Users and Permissions
Messenger Platform: Check the Messenger settings in your Facebook app dashboard. Ensure that the page subscription is correctly configured and that the required permissions are granted.
Page Messaging: Verify that the page is configured to allow people to send messages to it. You can check this under your Facebook page settings > General > Messages.
- Testing the Bot
Webhook Verification: Ensure that your bot's webhook endpoint is correctly set up in your Azure bot service settings and that it is verified by Facebook. This involves subscribing your Facebook page to your webhook URL.
Webhook Logs: Check the logs in your Azure portal to see if there are any errors or incoming messages from Facebook. This can help diagnose if messages are reaching your bot.
Message Handling: Review how your bot handles incoming messages from Facebook. Ensure that your bot code is configured to respond to messages appropriately.
- Facebook App Review Process
- App Review Requirements: If you are planning to make your bot publicly available beyond testing, you'll need to submit your Facebook app for review. This process ensures that your bot complies with Facebook's policies and guidelines. However, you can still test your bot with users who have specific roles (admin, developer, tester) on the Facebook app before completing the review process.
I hope this helps, looking forward to your response.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.