从 Hotmail/Live 获取联系人电子邮件

发布于 2025-01-03 20:32:51 字数 444 浏览 2 评论 0 原文

我已经为从各种不同的服务导入用户电子邮件联系人的最佳方式而烦恼了一段时间,我没有找到一个像样的 .net 解决方案,最终创建了一个界面开源 PHP OpenInviter。然而,这不再适用于 Hotmail/windows live,所以我想我自己可以使用 Live Connect API(使用 REST 和 OAuth2),但是联系人仅返回 email_hashes,这没有用,因为我想要他们的实际电子邮件地址,因为我正在尝试将它们导入到新的电子邮件地址中书。

关于如何做到这一点或者是否可能的任何想法! OAuth、屏幕抓取,无论我不介意什么,我只想完成它。

谢谢

I've been tearing my hair out for a while now about the best way to get import a users email contacts from a variety of different services, I didn't manage to find a decent .net solution and have ended up creating an interface for the open source PHP OpenInviter. However this doesn't work with Hotmail/windows live anymore, so I thought I'd do that myself with the Live Connect API (using REST and OAuth2), however the contacts only return a email_hashes which is no use as I want their actual email addresses, as I'm trying to import them into a new email address book.

Any ideas at all on how to do this or if it's possible at all! OAuth, screen scraping, whatever I'm not fussed I'd just like to get it done.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

二手情话 2025-01-10 20:32:51

显然这个问题没有官方解决方案(请参阅http://social.msdn.microsoft.com/Forums/en-US/messengerconnect/thread/c5bc9b10-6080-40bf-a7ce-951a60efdfcb/#c5bc9b10-6080-40bf-a7ce-951a60efdfcb)。

根据论坛的说法,尝试这样做是违反条款和条件的(尝试诸如屏幕抓取之类的事情)。

Apparently there is no official solution to this problem (see http://social.msdn.microsoft.com/Forums/en-US/messengerconnect/thread/c5bc9b10-6080-40bf-a7ce-951a60efdfcb/#c5bc9b10-6080-40bf-a7ce-951a60efdfcb).

And according to the forums trying to do it is against terms and conditions (trying things like screen scraping).

笛声青案梦长安 2025-01-10 20:32:51

我也有这个问题。但后来我发现 Google Plus 能够从 Hotmail 帐户中提取联系人,所以我只是研究了 Google Plus 是如何做到这一点的。

只需进入“圈子”页面并寻找类似“邀请者”的功能即可。在那里您可以找到 Hotmail,如果您查看它的工作原理,您会发现当您请求授权时,您需要将 wl.emails 和 wl.contacts_emails 添加到范围Hotmail 用户。

据我所知,您已经熟悉 OAUTH 并且可能只是选择了 wl.basic 作为范围?..

I had this problem too. But then I found out that Google Plus is capable of pulling contacts from Hotmail accounts so I just looked at how Google Plus does it.

Just go the the "circles" page and look for the "inviter"-like functionality. There you find Hotmail, and if you look at how it works, you see that you need to add wl.emails and wl.contacts_emails to the scope when you request authorization from the Hotmail user.

As far as I can see you are already familiar with OAUTH and probably just picked wl.basic as the scope?..

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文