How can I test the QQ login function locally? Currently, you are developing a one-click QQ login function, that is, you can directly log on to the Forum using the QQ number. However, if you use & nbsp; localhost & nbsp; for domain name callback, you cannot perform a test. the following message is displayed: 'redirect _ uri '& nbsp; error about developing QQ login function, how to test locally?
Currently, one-click QQ login is being developed, that is, the function of directly logging on to the Forum using the QQ number. However, if localhost is used as the callback domain name, there is no way to test the function. the following prompt is displayed:
The error of 'redirect _ uri 'indicates that the bound domain name must be used for testing, but I want to test it locally. what should I do?
------ Solution --------------------
P brother, just enter a baidu or something. if you want to get the parameters returned from the callback domain name
------ Solution --------------------
Configure the VM locally during debugging
------ Solution --------------------
You need to enter the QQ space developer application and apply for the appkey.
------ Solution --------------------
You entered the callback address on QQ, right? So what is the solution.
Or you can download an oauth phpWebservice from the QQ space developer app mentioned in LS. remember that there are two versions in the phpWebservice. you can select one and download it. according to the instructions, the document is mounted locally for development and testing first.
Http://wiki.opensns.qq.com/wiki/%E3%80%90QQ%E7%99%BB%E5%BD%95%E3%80%91SDK%E4%B8%8B%E8%BD%BD
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.