熬夜两晚,搞定最稳定高效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.

  13. What i don’t realize is in truth how you are no longer really a lot more smartly-preferred than you may be right now.
    You’re so intelligent. You know thus significantly when it comes to this subject, produced me for my part consider it from numerous various angles.
    Its like men and women don’t seem to be interested
    until it is one thing to accomplish with Lady gaga!
    Your own stuffs outstanding. At all times deal with it up!

  14. Hi, I think your site might be having browser compatibility issues.
    When I look at your blog site in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that,
    very good blog!

  15. Its like you read my mind! You appear to know a lot about this,
    like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a little bit, but instead
    of that, this is wonderful blog. A great read.

    I will certainly be back.

  16. I am not sure where you’re getting your info, but great topic.

    I needs to spend some time learning more or
    understanding more. Thanks for fantastic info I was looking for this information for
    my mission.

  17. After looking over a few of the blog posts on your website, I seriously appreciate your technique of blogging.

    I saved it to my bookmark webpage list and
    will be checking back soon. Please visit my website as well
    and tell me what you think.

  18. When I initially commented I clicked the “Notify me when new comments are added” checkbox
    and now each time a comment is added I get
    three e-mails with the same comment. Is there any way you can remove people from that service?

    Bless you!

  19. Hi there, just became aware of your blog through Google, and found that it is really
    informative. I’m gonna watch out for brussels.
    I’ll appreciate if you continue this in future. Many people will be benefited from
    your writing. Cheers!

  20. tinyurl.com says:

    Thank you for the good writeup. It in fact was a amusement account it.

    Look advanced to far added agreeable from you!

    By the way, how could we communicate?

  21. Thankfulness to my father who stated to me concerning this website, this webpage is
    genuinely awesome.

  22. I like the valuable information you supply in your articles.
    I’ll bookmark your weblog and check once more here frequently.
    I am fairly certain I will be informed many new stuff proper here!

    Good luck for the next!

  23. Piece of writing writing is also a fun, if you be familiar with
    after that you can write if not it is difficult to write.

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