熬夜两晚,搞定最稳定高效msn好友列表导入程序

研究了两宿的MSN协议(http://msnpiki.msnfanatic.com/index.php/Main_Page),终于搞定了一个稳定高效的msn好友列表导入程序,为啥说最稳定高效呢,这是我试过一些别人的实现后对比得到的,通常遇到的问题有两种:一个是非常慢,甚至被MSN服务器给挂起不断开,二是在面对一个用户有五六百个好友(比如我)的时候,就会以失败告终,经过不断调试和修改,最终这些问题都搞定了,甚是愉快!

几点收获:1. 低版本的协议更快,更好用 2. 面对超多好友的时候,避免挂起需要对ILN和MSG同时进行判断 3.命令行执行比web执行更可靠 4.必要的调试功能太重要了 5.为避免用户体验不佳,最好在获取好友列表的时候,使用HDN 隐身状态

提示: 索要代码暂时不提供,部分代码可能涉及公司代码安全,可以就具体问题和我讨论 🙂 测试地址:http://www.bengxin.com/user/invite.php

周末了,可以放松一下了吗? No, I can’t ! Keep walking …

Category: 技术交流  Tags:
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
7 Responses
  1. lala says:

    MSN的开放协议真不错,可惜qq没这些协议

  2. 九天鹰 says:

    真希望看到您高效的代码 呵呵
    有机会可以探讨一下msn机器人的消息发送效率问题

  3. Ryan says:

    您的网站应该高负载的,请问这样一个SNS网站需要用到哪些技术和类库,另外你的程序打包起来总共多大?

  4. 娱乐在线 says:

    恩,不错。

  5. Michael says:

    [Comment ID #31482 Will Be Quoted Here]

    今后有机会了再研究这方面的东西吧,纯研究性的东西没有太多精力去搞了,还是要以产品为重,满足最紧急、最重要的需要是首要任务 🙂

  6. Michael says:

    [Comment ID #31483 Will Be Quoted Here]

    这个阶段,还谈不上太多高负载的问题,当前阶段还太初级,仅考虑必要的部分即可,网站从小做到大是个循序渐进和逐渐增加投入的过程,慢慢来吧,谢谢关注

  7. byq says:

    学习 呵呵

  8. Hi everyone, it’s my first pay a visit at this web page, and post
    is genuinely fruitful for me, keep up posting such articles.

  9. What’s up Dear, are you actually visiting this web page daily, if so then you will without doubt take
    fastidious know-how.

  10. Great article, just what I needed.

  11. g says:

    Good post. I learn something totally new and challenging on sites I stumbleupon everyday.
    It’s always exciting to read through articles from other authors and use
    something from their websites.

  12. These are truly wonderful ideas in regarding blogging. You have touched some fastidious things here.
    Any way keep up wrinting.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image