Mobile web site to achieve WeChat third party login to see http://www.cnblogs.com/v-weiw…
The first step is not successful.
var url=encodeURIComponent(location.href); window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxadc302736fea5abf&redirect_uri="+ url+"&response_type=code&scope=snsapi_userinfo&"+param+"#wechat_redirect";
But the opening is a hint
Can only be used in WeChat to open, other browsers can not be used.
Download WeChat developer tools
Well. Ask the landlord, how to solve it
I think I asked a question here when I received the mail. I found the reason. Because this is the web end of the call WeChat, can only be opened with WeChat, in addition to the Jingdong. Because Jingdong WeChat login interface is not the same.
This is the interface of the Jingdong tune. API is not found in it. Students who have seen can open the page of Jingdong mobile phone with chrome.
Absolutely unimaginable py transactions