【WeChat】WeChat test official account application and use

0 Description

Development and testing environment, WeChat official account related development, need to apply for a test official account
Recently made an account switch, record the specific operation process


1 application

Use the interface test account instead of the official official account. The interface test account has opened various APIs with advanced permissions for development and testing.

Quickly apply for an interface test account without a public account,
directly experience and test all advanced interfaces of the public platform

Interface test account application documents
WeChat public platform interface test account application


2 information

Get important information
Wechat ID: gh_XXXXX (in the upper right corner of the page)
AppID: wxabcd1234xxx (test number information module)
AppSecret: asdfjkaldaflkxxx (test number information module)
Name: interface test number of wxid_dagjkls (test number QR code, scan the QR code, Look at the official account name)
insert image description here
insert image description here


3 configuration

1. JS interface security domain name module, configuration path: abc.def.com
2. Experience interface permission table, web page authorization to obtain basic user information, configuration path: abc.def.com:2233 (with port number) (used to obtain users openid)
3. Experience interface permission table, to obtain the user's geographic location, you need to manually open
4. Experience interface permission table, device function interface, you need to manually open
5. Template message interface, add template message


4 other

Remember to use the corresponding configuration information in the project.
For testing, you need to pay attention to the official account of this test account

Guess you like

Origin blog.csdn.net/RogerQianpeng/article/details/130145602