This article mainly introduces the configuration instructions and common errors of web development. before starting development, we must first have a certain understanding of the public account.
Recognize and select an appropriate public account type
Before developing a webpage, we need to have a certain understanding of the public account type. As shown in:
A: This error is thrown when you use the webpage authorization interface to obtain basic user information. Before sorting or processing suspected parameters, make sure that the [authorization callback page domain name] has been set ]. If you use the WeChatOAuth filter to obtain user information, there is basically no error in generating links.
2) JSSDK error.
A: Before confirming that the configuration and writing method are correct, check that the [JS interface security domain name] has been configured ]. If you use the framework encapsulation to configure JSSDK, there is basically no possibility of configuration errors.
3) when multiple photos are uploaded, the IOS system cannot upload them normally and the loading status is always displayed.
A: JSSDK Upload interface Bug. the JSSDK encapsulation in the framework fixes this problem by default.
4) permission denied
A: Make sure that the public account has been authenticated and the jsApiList parameter includes the relevant api permissions. The framework includes all permissions by default.
5) after the upload is complete, no uploaded materials are displayed.
A: after using JSSDK to upload materials, the materials will be uploaded to the temporary materials. please use the relevant interfaces to download the materials to the server.
For more information about the configuration instructions and common errors of web development, see The PHP Chinese website!