Home >Backend Development >PHP Tutorial >WeChat public account authorization settings, WeChat public authorization_PHP tutorial

WeChat public account authorization settings, WeChat public authorization_PHP tutorial

WBOY
WBOYOriginal
2016-07-12 09:01:541081browse

WeChat public account authorization settings, WeChat public authorization

weiphp background usage settings

Realize the name of the official account and share the service account when the user authorizes it

Usage steps

1: Open public account management in weiphp background - new

2: Enter the official account name, original ID, and WeChat ID

3: You can find the official account here

4: After the input is completed, the next step is to provide the URL and token. Then it needs to be configured in the background of the WeChat official account

After 6 input is completed, record the key, appid and appSecret and enter them here

7: After pressing Save, select the service account information you just filled in in the upper right corner to switch to the current official account

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

If the addition is successful, the saving will be successful. If it fails, it will automatically report the corresponding error, for example:

9 If successful, a green box will be displayed to indicate success. Then change the sharing interface and enter your own sharing link domain name correctly, such as www.baidu.com

10: Configure basic web page authorization information (only certified service accounts can use this function)

Enter the domain name information you want to authorize callbacks

After passing the above 10 steps, you can configure the authorization and use it correctly.

Then you can use explicit authorization snsapi_userinfo on weiphp. After viewing it, click the authorization green window to see if it is the window you set. If it is consistent, it means success

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1087375.htmlTechArticleWeChat public account authorization settings, WeChat public authorization weiphp background usage settings to display the name of the public account when the user authorizes and Share and use this service account. Step 1: After weiphp...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn