DMflow.chat
繁體中文
  • Welcome
    • Contact
    • Nounce
  • Get Started
    • Creating and Publishing a Bot
    • How to Share Your Bot
    • DMflow.chat Features
    • Abuse Prevention
    • Roadmap
  • Tenant
    • Tenant Management
  • Domain
    • Introduction
      • Domain Management
    • Document Q&A
      • How to Use Document Q&A
      • How to Optimize Document Q&A
    • Chat
      • How to Use Role chat
      • Role-Chat Tools
      • Product List
    • Form Q&A
      • Trigger
        • LINE
        • Gmail
        • Google Calendar
        • Google Drive
        • OpenAI
        • SendGrid
        • Telegram
      • Form
  • Live Chat
  • Role
  • Dashboard
  • Chatbot
    • Introduction
    • Bot Flow
    • Broadcasting
    • Bot Statistics
    • AI Agent
  • Channel
    • Web
    • Instagram
    • Telegram
    • LINE
    • Messenger
    • Whatsapp
  • API
  • Version
    • Latest
    • 1.0.17
Powered by GitBook
On this page
  1. Channel

Messenger

DMflow.chat: A unified chatbot platform integrating LINE, Messenger, Instagram, and Telegram to enhance customer reach and interaction efficiency.

PreviousLINENextWhatsapp

Last updated 1 month ago

Messenger integration can be done via Facebook OAuth2 to manage fan pages (pending verification). Upon successful verification, it will be accessible. Alternatively, you can directly operate by filling in APP_ID, APP_SECRET, PAGE_ID, VERIFY_TOKEN, and ACCESS_PAGE_TOKEN.

The following links provide instructions similar to the old Facebook guide. This is a supplement if you pass the APP REVIEW:

Links:

Steps:

  1. Switch App mode from Development to LIVE and add test user accounts.

  2. Provide a reason for needing pages_messaging permission.

  3. Supply test account details. Note that only real accounts with 2FA can be used.

Example message for requesting pages_messaging permission:

I'm building a chatbot with the Messenger Platform that will automatically answer people's questions about our services. To make the chatbot accessible to all Facebook users, I need the "pages_messaging" permission. We'll provide the test account details below. We ensure the chatbot is thoroughly tested and functions well with our Tester and Developer accounts. Thank you.

Test account details:

Email: [email protected]
Password: ---

Instructions to test integration:

1. Go to my Facebook page: m.me/{{page_id}}
2. Log in to Facebook with the tester account:
   + Email: [email protected]
   + Password: ---
3. Test my chatbot.

Differences between Managed and Self-Managed:

  • Managed: Quickly links the chatbot but requires reauthorization if there are password changes or permission issues.

  • Self-Managed: DMflow.chat may provide a local installation version. You can perform functions not provided by DMflow.chat using your Page access token, such as account_link or thread_control. The product is not limited to a single channel; for example, you can send messages from Messenger to Telegram.

Managed

  • Pros: Quick bot connection

  • Cons: The bot will require reauthorization if you change your password or if there are issues with your permissions.

Click 'Manage' -> 'Settings' -> 'Facebook' to obtain the link to connect your Facebook fan page. After obtaining the link, select your fan page to complete the process.

Connect the bot

Open Facebook Messages.

Click 'Bot' -> select your bot -> 'Settings' -> 'Facebook Messenger Settings' -> 'Start Hosted Mode' -> 'Enable and Save'. Now you can receive Facebook messages. You can also set up Facebook comment replies.

Comment Replies

We support Facebook/Instagram comment reply functionality. Currently, the system supports 200 operations per hour (comment replies, private messages, and hiding/deleting). The 200 operations refer to 200 real-time executions; if the hourly limit exceeds 200, the executions will be non-real-time (but will still be completed).

Reply to First-Level Professional Account Comments' means that your own account's first-level comments will also be replied to. This feature is primarily for testing purposes.

If there are many comments, it's recommended to use multiple sets of different replies or to use private message replies only. Private message replies are significantly more important than comment replies.

Facebook Graph API Get Started
Graph API Explorer