WeChat account authorization settings

Source: Internet
Author: User
: This article mainly introduces public account authorization settings. For more information about PHP tutorials, see. Weiphp background settings

Allows you to display the name of a public account and share and use the service number during user authorization.

Procedure

1: Open public account management in weiphp background-add

2: Enter the name of the public account, original ID, number

3: the public account can be found here.

4: After the input is complete, the next step is to provide the URL and token, and then configure the token in the background of the public account.

6. after the input is complete, record the key, appid, and appSecret. the input is here.

7: after you press save, select the service number you just filled in the upper right corner to switch to the current public number

8: Open the basic plug-in-custom menu-add

If it is added successfully, it is saved successfully. if it fails, it will automatically report an error. for example:

9 If the sharing succeeds, a green box is displayed, indicating that the sharing is successful. Next, change the sharing interface and enter your own sharing link domain name, for example, www.baidu.com.

10: Configure basic webpage authorization information (this function can be used only when the authenticated service number is used)

Enter the domain name information you want to authorize the callback

You can configure the authorization in the above 10 steps to use the authorization correctly.

Then, you can use the explicit authorization snsapi_userinfo on weiphp. click the green authorization window to check whether the window is set. if the window is consistent, it indicates that the authorization is successful.

The above introduces the public account authorization settings, including the content, hope to be helpful to friends who are interested in PHP tutorials.

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.