如何从 MSN、Twitter、Facebook、GMail 等检索联系人/电子邮件?
我正在构建一个应用程序,让用户可以选择向他们的朋友发送电子邮件通知。
我想给他们的选项是:
- 手动写下他们想要发送的电子邮件
- 从数据库中已有的联系人列表中为该用户
- 选择联系人 从 facebook、twitter、digg、gmail、或 msn 将电子邮件发送至
有什么方法可以从这些不同的网站检索特定联系人的所有电子邮件地址吗?
例如,如果我选择发送电子邮件通知的选项,并且想将其发送给我 Facebook 帐户上的所有朋友,我该如何执行此操作? (请记住,用户正在与一个完全独立的网站进行交互,并且不必访问 Facebook 来发送此电子邮件)
有什么想法吗?
在此先感谢您的帮助!
马特
I'm building an application that gives users the option to send out an email notification to their friends.
The options I would like to give them for this are to:
- manually write down which emails they would like to send to
- choose contacts from a list of ones already in the database for that user
- choose all contacts from facebook, twitter, digg, gmail, or msn to send the email to
Is there any way I can retrieve all of the email addresses for a certain contact from these different websites?
For example, if I chose the option to send out email notification and I wanted to send it to all of my friends on my facebook account, how could I do this? (Remembering that the user is interacting with a completely separate website and should not have to go onto facebook to send this emails)
Any ideas?
Thanks in advance for your help!
Matt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Google 通讯录 api:http://code.google.com/apis/contacts/
Windows Live 联系人 api:http://msdn.microsoft.com/en-us /library/bb463989.aspx
Facebook 的 api 位于:http://wiki .developers.facebook.com/index.php/API
Google contacts api: http://code.google.com/apis/contacts/
Windows Live contacts api: http://msdn.microsoft.com/en-us/library/bb463989.aspx
Facebook's apis are here: http://wiki.developers.facebook.com/index.php/API
对于每个网站(twitter、facebook 等),使用其 API 来访问联系人。
For each websites (twitter, facebook, etc.) use their API for accessing contacts.
Russau 使用 Google 联系人 API 速度更快。 对于发送 Gmail 消息,还有一个第三方 API 此处。 其实我以为Google也发布了一个,但是我现在找不到。
\编辑:
此内容可能相关也。
Russau was faster with the Google contacts API. For sending Gmail messges there is also a third-party API here. Actually I thought that also Google released one, but I couldn't find it at the moment.
\Edit:
This might be relevant too.