weiphp Background usage settings
Realize the name of the public number at the time of user authorization and share the use of the service number
Use steps
1: Open public number management in weiphp-new
2: Input public number name, original ID, micro-signal
3: Here the public number can be found
4: After entering the next step, he will provide the URL and token token. And then we're going to configure it in the micro-public number background.
6 input complete I, record the key,appid and Appsecret, enter here
7: After the save, in the upper right corner, select the service number you just filled in to switch to the current public number
8: Open the Base plugin-custom menu-New
If the new success is successful, the save succeeds, and if it fails, he will automatically report the response error, for example:
9 If successful, will show the green box prompt success, then next on the change sharing interface, the correct input of their own share link domain name, such as Www.baidu.com
10: Configure the Web page authorization basic information, (only certified service number to use this feature)
Enter the domain name information you want to authorize the callback
Through the above 10 steps will be able to configure the authorization, you can correctly use the authorization.
Then you can use the weiphp on the top of the Snsapi_userinfo, check the authorized Green window to see if it is the window you set, if consistent, it represents success