QQ integration

更新时间:
复制 MD 格式

This document explains how to integrate OpenClaw with a QQ bot, allowing you to perform tasks by chatting with the bot in QQ.

Overview

The integration involves the following steps:

  • Create a QQ bot.

  • Configure security credentials to connect the QQ bot to the OpenClaw instance on your Wuying Cloud Computer.

  • Configure the QQ bot sandbox environment.

Create a QQ bot

  1. Log in to the QQ Open Platform official website, register an account, and link it to your QQ account.

    Important

    You must register a new platform account and link it to your QQ account, instead of logging in directly with your QQ account.

  2. Click Create Bot, fill in the required information, and click OK.

Configure development management

  1. On the robot homepage, click Management > Development Management.

  2. Copy the AppID and AppSecret.

  3. Add the public IP address of your OpenClaw cloud computer to the IP allowlist.

    Note

    To get the public IP address of your cloud computer, run curl ifconfig.mein a terminal. Alternatively, use a browser on the cloud computer to search for IP to find the public IP address.

Configure OpenClaw

  1. Open the Wuying Client, log in to the Personal Edition, and scan the QR code on your desktop to open the Wuying Cloud Computer mini program.

  2. In the mini program's Cloud Computer List, find your OpenClaw cloud computer and click OpenClaw Application Configuration.

  3. On the OpenClaw Application Configuration page, select IM Channel Configuration.

  4. Click Add Channel and select QQ as the service provider.

  5. Enter the AppID and AppSecret for your QQ bot, and then click Save Changes.

Complete sandbox configuration

  1. On the bot homepage, click Develop > Sandbox Configuration.

  2. Select Configure in Message List and click Add Member on the left.

  3. After adding members, click the QR code button and scan the displayed QR code.

  4. Return to the QQ mobile app. You can now start a conversation with your bot.

FAQ

Error: This bot has gone to Mars. Please try again later.

Possible causes:

  1. The public IP address of your cloud computer is not in the IP allowlist on the QQ bot configuration page.

  2. The AppID and AppSecret for the QQ bot are not configured in OpenClaw.

  3. The AppID or AppSecret configured in OpenClaw is incorrect.