Weiphp Wechat Public platform Authorization setting method course
This article mainly explains "Weiphp WeChat public platform authorization method tutorial", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let Xiaobian take you to learn the "Weiphp WeChat public platform authorization method tutorial"!
weiphp background settings
Display the name of the public number and share the service number when the user authorizes
using step
1: Open public account management in weiphp background-New
2: Enter the public name, original ID, micro signal
3: Public number can be found here
4: Next step after typing is complete, he will provide URL and token. Then you have to configure it in the background of Weixin Official Accounts
6 And when I'm done, I write down key,appid and appSecret, and I type it here.
7: After pressing Save, select the service number information you just filled in in the upper right corner to switch to the current public number
8: Open basic plug-ins-Custom menu-New
If the new success, save success, if failure, he will automatically respond to the error, for example:
9 If successful, it will show a green box prompt success, and then change the sharing interface, correctly enter your own sharing link domain name, such as www.baidu.com
10: Configure basic information of web authorization (only authenticated service numbers can use this function)
Enter the domain name information for which you want to authorize callbacks
Through the above 10 steps, you can configure the authorization, and you can use the authorization correctly.
Then you can use the explicit authorization snsapi_userinfo above weiphp, check it in, click on the authorized green window to see if it is the window you set, if consistent, it means success.
At this point, I believe that everyone has a deeper understanding of the "weiphp WeChat public platform authorization method tutorial", may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!