用于 Hotmail、Gmail 和 Yahoo 的 PHP API?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/326379/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
PHP APIs for Hotmail, Gmail and Yahoo?
提问by spelley
I am a PHP developer who is kind of in a pickle. I'm trying to locate and/or build an API capable of speaking to Hotmail, Yahoo and GMAIL in order to retrieve contact lists (with the user's consent, of course). The one I'm having the most trouble finding is a Hotmail API.
我是一名 PHP 开发人员,有点不适应。我正在尝试定位和/或构建一个能够与 Hotmail、Yahoo 和 GMAIL 对话的 API,以便检索联系人列表(当然,在用户同意的情况下)。我最难找到的是 Hotmail API。
Where would I start to look as far as finding either a working, stable API or the steps I could take to developing one for hotmail? Is there one that covers all of these bases that I could implement? Any help would be greatly appreciated!
我应该从哪里开始寻找工作的、稳定的 API 或我可以采取的步骤来为 hotmail 开发 API?是否有一个涵盖我可以实施的所有这些基础?任何帮助将不胜感激!
Thanks!
谢谢!
EDIT: I did manage to get a few services up, however, I've been using Open Inviter for at least one client project, and it seems to perform well.
编辑:我确实设法启动了一些服务,但是,我一直在为至少一个客户项目使用 Open Inviter,而且它似乎表现良好。
采纳答案by Till
Some pointers:
一些提示:
- Gmail: Google Contacts Data API
- Yahoo:
- Address Book API(deprecated)
- Contacts API
- Hotmail: Windows Live Contacts API
- Gmail:Google 通讯录数据 API
- 雅虎:
- Hotmail:Windows Live 联系人 API
Most of the scripts, etc. I found didn't really work. There's a commercial one which uses scraping to retrieve the contacts but I think those attempts are rather flawed. The above links should give you an example of how to access the address books on each service.
大多数脚本,等等。我发现并没有真正起作用。有一个商业应用程序使用抓取来检索联系人,但我认为这些尝试相当有缺陷。上面的链接应该为您提供了如何访问每个服务上的地址簿的示例。
回答by Eran Galperin
Plaxo has an API widgetto import contacts from Gmail, Yahoo, AOL and Hotmail. You can view a demo of it in action here. It previously had a small issue with IE7 (last checked half a year ago), but if its resolved it might suite your needs.
Plaxo 有一个API 小部件可以从 Gmail、Yahoo、AOL 和 Hotmail 导入联系人。您可以在此处查看它的实际演示。它以前在 IE7 上有一个小问题(上次检查是半年前),但如果它解决了,它可能会满足您的需求。
回答by John
Rapleaf might have something for you:
Rapleaf 可能适合您:
http://www.phpclasses.org/browse/package/4436.html
http://www.phpclasses.org/browse/package/4436.html
It appears that this service plays cat and mouse with some providers, as not all e-mail providers offer a stable API for communicating with their services. (It would undermine their business model.) So, if you use these and the e-mail provider breaks the chain somehow, you're broken until Rapleaf catches up.
该服务似乎与某些提供商玩起了猫捉老鼠的游戏,因为并非所有电子邮件提供商都提供稳定的 API 来与他们的服务进行通信。(这会破坏他们的商业模式。)所以,如果你使用这些并且电子邮件提供商以某种方式打破了链条,你就会被打破,直到 Rapleaf 赶上。

