如何邀请来自MSN,Yahoo的人员加入我的应用程序? [英] How do I invite people from MSN, Yahoo into my application?

查看:92
本文介绍了如何邀请来自MSN,Yahoo的人员加入我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要向我的社交网络应用程序添加邀请用户功能,以便用户可以从其hotmail或yahoo帐户邀请联系人.我该怎么做?有没有免费的开源库可以做到这一点?

I need to add an invite users functionality to my social networking application so users can invite contacts from their hotmail or yahoo accounts. How do I do this and are there any free open source libraries that do this?

推荐答案

根据您希望从他们那里获取联系信息的服务,它们可能已经为您提供了已发布的API.

Depending on the service you wish to get the contact information from they might already provide a published API for you.

例如,Yahoo具有您可以使用的联系人列表API: http://developer.yahoo.com/social/rest_api_guide/contact_api.html

For example, Yahoo has a contact list API you could use: http://developer.yahoo.com/social/rest_api_guide/contact_api.html

Google还有一个: http://code.google.com/apis/contacts/

Google also has one: http://code.google.com/apis/contacts/

Windows Live也是如此: http://msdn.microsoft.com/en-us/library/bb463974.aspx

And so does Windows Live: http://msdn.microsoft.com/en-us/library/bb463974.aspx

如果您需要一些与不使用API​​的服务一起使用的服务,则可能需要询问该用户的用户名和密码,暂时使用该用户名和密码登录其帐户,下载联系信息,然后放弃登录详细信息.但是,这种方法存在明显的隐私和安全问题.尽管如此,许多社交网站还是经常使用它.

If you need something to work with a service without an API then you might have to ask that user for his username and password, use it temporarily to log into his account, download the contact information and then discard the login details. There are obvious privacy and security issues with this approach, however. Nevertheless, it is used quite frequently by many social networking sites.

相同的方法也可以用于从即时消息传递服务中检索好友信息.您登录(也许使用开源IM API)并获取其好友列表和联系方式.

The same approach can also be used to retrieve buddy information from instant messaging services. You log in (perhaps using an open source IM API) and get their buddy list and contact details.

这篇关于如何邀请来自MSN,Yahoo的人员加入我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆