The process of the development of Wechat's official account

problem description

the front end of the project uses the React, backend and someone else is in charge. Now the boss asked me to call some of the interfaces in Wechat"s official account, such as user information.
[question 1]: should I call the interface provided by Wechat"s official account at the front end? Or the back end?
[question 2]: what is the process of calling? How can I do it locally if I don"t have an official account? )


[question 1]:
if it is the interface of user information, it is generally called by the backend. You can take a look at the development documentation of Wechat's public platform. For the front end, there are also some interfaces (for example, image, audio, geographic location, etc.) https://mp.weixin.qq.com/wiki.

[question 2]:
in fact, this depends on whether your front end needs to use the above image, audio, geographic location and other APIs. If you do not use it, it is actually the same as developing a web website. For the front end, you can do it locally without co-tuning.
if you want to use the above interface, you can apply for the test official account: https://mp.weixin.qq.com/wiki.

.
Menu