Home  >  Article  >  Backend Development  >  weiphp WeChat public platform authorization settings, weiphp WeChat public platform_PHP tutorial

weiphp WeChat public platform authorization settings, weiphp WeChat public platform_PHP tutorial

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

weiphp WeChat public platform authorization settings, weiphp WeChat public platform

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

Articles that may be of interest to you:

  • Changes in authorization callback domain name settings in WeChat public platform web page authorization to obtain user basic information
  • Website authorization WeChat login function of WeChat open platform

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1088789.htmlTechArticleweiphp WeChat public platform authorization settings, weiphp WeChat public platform Weiphp background use settings to display the public account when the user authorizes Name and share the steps to use this service account...
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