Configuration instructions and common errors for web development on WeChat

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.