关于微信登录

微信开发现在太火了,github上也可以找到很多牛人开发的代码。但是另一方面,微信自身提供的API和SDK又非常杂乱。从另一个方面来说,互联网上某个产品的成功,也许还真未必需要最好的技术。至少这件事可以通过时间来慢慢达到优秀。扯远了。

微信做为全中国使用最多的平台,自然受到各种网站、App的热捧 – 大家在上线的初期就会去考虑如何使用微信来获取尽可能多的用户。

我们如果只是做个“微店”,注册个公众账号,看起来似乎没有问题。但是,如果我们有一个Web站,想要接入微信登录时,就会掉到一个大坑。

微信会告诉你,先去注册一个“微信开放平台”,还要认证。然后在这里你可以使用网页登录接口。但是这个网页登录接口虽然仍然是oauth原理,但使用的是一套新的AppId和secret,所以通过这个网页登录接口获得的用户无法获得真正的openid,用这个openid毫无意义,你不能用来发送模板消息,然后貌似也就没有什么其他的用途了。

然后,你会看到“公众号第三方平台”,貌似可以解决这个问题,你可以还要申请、全网测试、做一些其他不知所谓的东西。但是这些东西不是给“第三方平台”做的吗?比如有赞什么的。

总之我走到这里的感觉是,我被微信那帮小朋友玩了。虽然也许他们自己不这么觉得。

网页登录这种接口真的有必要单独放到所谓“开放平台”做吗?在我的感觉来看,微信搞一堆开放平台纯粹是浪费程序员的生命啊!这个一定是程序员出身的产品经理做的,因为只有程序员才会坑程序员啊!

OK,既然到了这里,我们会发现,其实网页登录这种东东用原始的授权接口即可实现,只是要自己脏脏手而已。可是既然这样,微信搞个网页登录接口,还搞在“开放平台”里有个卵用?!

如何做呢?我这里就不上代码了,希望能看到这里的人,对一些起码的东西还是有点了解的。

第一步,生成一个我们自己的登录token(10分钟过期),然后作为一个生成一个URL,然后把这个URL做成二维码。

第二步,用户用微信扫描后,进入这个URL时,发起微信端的授权。在授权成功后,更新token的状态为登录成功,并标识用户的ID。

第三部,在二维码页面,使用JS定时去检查这个token是否登录成功,并获得相应的用户ID,登录它,页面给出提示。

好吧,就是这么简单。毫无技术含量,但是却是一坑见血!以微信现在的体量,想要变动一下还是比较慢的,也许这篇文章还能有点用。

如何干掉联通3G/4G的手机广告

发现在使用3G浏览网站时会被联通强制加入广告代码:

<script type=”text/javascript”> function closeDiv() { document.getElementById(“divShow”).style.display=”none”; } </script>

<div style=”width:100%;margin:0;padding:0;” id=”divShow”><a href=” “> <img

src=”data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAABuCAMAAACAwlLKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYBQTFRF/pwCj6SnjqzQPGqVm6Btl55vq6lmQW2SrJAVbpCuEVGnJVye7MIWZICEx9bosMTbpaVpkptx/m1+LWGbLkRREyMzcol+MmSZ1bo0XHyHIFqgpLnL32mCUnaLeY17Glej1t/mSnq4XFUeSXGPD1CncpfGiZZ0HVihjZhzz9rka3VqfI56k31PdYt8oqRqNmuuvLBTFlWkh5V1XIa3Wm5w/0JYQU9JN2eXbIWAYH6GboaAzakQKV+dybVDWXuIVnmJHzJCwc/X8/b5FFOl5OvzTnSNhZN2ZW1SgpJ3RW+Ra4WBgJF4h3UZaIOCVWJVS2mAZ4iecYBqh4pcWlqa4ObpxHV6x4spOzsksqxfxlps5boOtcPD2+HgVXyZjIZ9OF+EDk6o4r8jgIhjfpim35MYQFlifoxwoqFjenlcIV2sZIOP7O/wWYGqPGWNqoM+nGCEQFeeKE92kZZoco2S50pff5B5d4x8qKdon6JrS3OOABEpDE+pC06pABMt////9MYMHe8ttQAAGkBJREFUeNrs3ftfE0cXB+AkViQFEkuIEAM0AVPLzaChXgCVxHjnaimoCfalUSsqqPVuYfqvv2dm9jKzO7OX7G4SIvODBbW8/ejzfs85M7NL6L+j1aC1/bCjo+Pz55MnT547d+7Llx/IOn78+E94/Qrrl18uXLhw69atO3fuf/w4MTExPPxpamrqFF6zs7OX791bgtUD6wqsVCp1Ddb169eHyLp58+bXr6N43YV1gq5jdF0iq19dCXXN09WlrtPKOkvXz/o6r60b+vqRX2eM61/J2mdX6AhGg9YA4Reov6+qv7tW/vod+jtr488O4L9HAFtpXWX8fXHo75OP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H5jl6D1c8BP2Xt5J+4JGYNu4q9l/e3/zvwt/24P8P8CDAA87bN1f+mNugAAAABJRU5ErkJggg==”

style=”width:100%;padding:0px;border-style:none;border:0;cursor:pointer;”> </a> <a

href=”javascript:closeDiv()”><img

src=”data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABBxJREFUeNqsmHtoj1EYx397iVyGMfdSUthWbpvL5lYUKZdZkxZySSKE3AklYgiJFLksiWJqY2GWW5ZLLJdZuYbCbGHkOtfv0fet4+l5f+/7+21Pff54z3nfc55zznM7b0zlzEOhKKQe6Ah6gATQlm2fwHNwD5SCl5EOXDcKRfqDdNAbdAVx4p3f4DUVugzywP2gE8QE3KGGYCqYBZIiXMRPcB5sA2f8XnYCDDgEXAU7o1DGPYVh4DQ4CjpEq1AMWAeKQLdQ7ch4cA2MitSGjKI5YKLPBE/BE/AGVINGoD3oAlp6fGMcIB/MAHuDKOSnTDkwhpcL7oBvyjstQCqYBDI85tnDReT4HdnaMMrsoKsvAdc9lDHyFpziERnFLnm8tw8MCqfQYLBc+fADGAfm8XgikZtgKNis9NUB+0EzTSHj2rsVJY0yw8HxGhjzL+7qUqWvE1ipKTSFUVfKNB5Pbcgm2o6U2aCzrVA9HocUE3tOiLZeYDWYEGbipmARWEwDt2U+eCTaGoC5tpeluRpaUgnWiLZkcAHE8rkHJ7Ulnukijc+jGBhdB/jKo5MLHQuWOdydDGWVB8A70ZZhKRPiLuy0nluDQksZIwNBdzFOHkOGLSZ+pTnM2n1F5x9wTFGyzOP8s62A11P0V4EXSgI+oYw1wOG2y+N6xhJCyhGwRWk3HnQb9BHt3xnTXivfFCptyUahRDsOUB5ysJCyMmMzu5S+VuK5moZf4GH4pm76LNraGIXaKC9X+rjvHLrwzzCROpPpxUs+8jhtaeIadUhZnZ+s58SaXAEnA9RJcp66jrJtIWbtcGJ29Sy9SpMxHrZmS31mh/9szuFZ/hYd7cIMFM9iq5/PhAtFSJDSXCl/3zv0pnLRkaAYuqtMPj3Tlk+MLVpIWO+hUKJiLi+MQneVIjxeBDc7r6WKth8gi4X/VuWbFZxcilY1FjuMEReVzikeZa2MM1msfdxj2hXgu1guQAbjfwr9YdT8JV5IV0L+AavYqmCNlKuEhA30IsNG5QQWKOHGnNRt+xpUxEJKuu9gYfRmESlMB+VhjDaJO1Mq2k1WKFE82Si53a6HsrXcorQb5W74KBPirpQq4eSwoozx9IOyQDvnURUuYq6qqTRmwk5R+la5UdtRiqcK5YNslrexUSqTSJMYofSd5C1GLfJf0rU1mcmjygx443WD32peDvt63Oum+93LCniJ02rfrtz2Eq6skOdfRY+qzxhmAutIMDpM1H/FWFQR9GfDZN6b6vjswmcqVM3cFOeRsG15zHxXFsndPoe18AOfwd3rc0cmWz9l8ng5LIvm78d5JlFzyftSQy97wl866R4VZODfMVV0+xRepZ9HqMgtBr0UN9bUxg8rGU9SmXyTabRNaGvVvKmYKF7M/0q3Ihn8rwADAJEv7F9/lBghAAAAAElFTkSuQmCC”

style=”width:9%;position:absolute; right:3px; top:5px;padding:0px;border-style:none;border:0;”></a> <a

id=”knock”

href=”http://116.114.81.178:9527/WoWindow/bss/orderList?recommend=1&amp;packageId=6,27&amp;phone=&amp;uniqueKey=Vmpn2gGbkh/3wwbNBER8sg==&amp;groupId=12&amp;windowType=0″

style=”right:5px;top:40px;position:absolute;color:#000000;font-size:14px;font-size:0.8rem;font-weight:blod;font-family:微软雅黑;text-decoration:none; outline:none;”>10元1G夜猫福利</a>

<a id=”knock2″

  href=”http://116.114.81.178:9527/WoWindow/bss/orderList?phone=&amp;uniqueKey=Vmpn2gGbkh/3wwbNBER8sg==&amp;groupId=12&amp;windowType=0″

  style=”right:30px;top:0px;position:absolute;color:#ffffff;font-size:14px;font-size:0.8rem;font-weight:blod;font-family:微软雅黑;text-decoration:none; outline:none;”></a>

</div>

 

怎么解决?

在document.ready里增加一行代码:

document.getElementById(“divShow”).style.display=”none”;

 

鄙视!