WeChat (微信 or Weixin) is a Chinese multi-purpose messaging, social media and mobile payment app developed by Tencent. As China's most popular app, it is also one of the world's largest mobile apps by with over 1 billion monthly active users and 902 million daily active users.
The WeChat messaging platform features scannable QR codes that allows users to easily connect to your Space. The platform also has location sharing for contacts to easily share their location with you.
Set up WeChat
In order to connect WeChat to your Space, you will need the following:
Connect to WeChat
To add a new channel to an existing Space, navigate to Settings and select the blue "Add Channel" button under Manage Channels.
Under the Channel Connection menu, select the WeChat Logo and press the blue "Next" button.
Once you have done so, you should be asked for the Channel Name, Greeting Message, and information needed to connect to your WeChat account.
Channel Name 和 Greeting Message 为自定义。
App ID 和 App Secret 从微信公众号设置中获取，请看以下介绍。
Webhook URL 和 Verification Token 从平台复制粘贴到微信公众号设置，请看以下介绍。
Enter a suitable name for the new channel. Note that the Channel Name is private and will only be used within the Platform.
You may enter an optional Greeting Message. This will be shown when a new member of your audience first contacts you.
Get the App ID
From the WeChat Dashboard, go to the "Basic Configuration | 基本配置" page. You can find this below the Develop section.
On the Basic Configuration page, you will be able to find your App ID on this page. Go ahead and paste this onto the Platform. (在基本配置中可找到App ID，复制粘贴到平台连接窗口。)
Generate App Secret
To generate the App Secret, you have to pass two verification steps. First, you will have to scan a QR code on the web page (用微信扫描二维码). After which, you will be asked to re-enter your account password (重新输入密码).
Once you have completed the security measures, a brand new App Secret will be generated.
Save this secret key as it will not be shown again! Each time you go through this processes, a new App Secret will be generated. (获得密钥之后，请妥善保存。一旦丢失，重新生成的将会是新的密钥，与平台的链接也要重新设置。)
Enter the App Secret into the Channel Settings menu and press the "Continue" button. (将密钥复制粘贴到客服平台连接微信页面，点击继续。)
Connect to the Platform
Once you are done with the channel settings, the Platform will have generated a Webhook URL along with a Verification Token for you to copy into your WeChat settings.
Whitelist IP Address
Return to the WeChat Basic Configuration page and add the following IP address of SmartChat to the whitelist: (复制粘贴一下三个IP地址到微信基本配置界面的白名单里面。)
Once again, you will have to verify yourself by scanning a QR code.
Webhook URL and Token
Click on the "修改配置 | Modify Configuration" button below to open up the Configuration menu.
Copy the Webhook URL and Verification Token from the platform and paste them into their respective fields. (复制粘贴 Webhook URL 和 Verification Token 到微信设置。)
Generate an Encoding AES key (although it's not used) and select " 明文模式 | Plain Text Mode" for message encryption.
Save these settings and a green message should appear.
Finally, you will have to enable these changes so that messages are forwarded to the platform. Click on the green “启用 | Enable” button. It should then turn red.
Return to the Platform and press the blue "Done" button. Your Space will now be connected to WeChat!