导入 Hotmail 联系人

发布于 2024-11-17 02:07:58 字数 266 浏览 0 评论 0原文

我正在尝试允许用户将他们的 Hotmail 联系人导入到我的网站以邀请朋友。我希望编写一个自定义 PHP 解决方案,而不是像 http://openinviter.com/ 之类的解决方案。我尝试了 Live API,但它只输出电子邮件哈希值。

有谁知道我怎样才能做到这一点?在 Yahoo! 上设置非常简单!和 Gmail,但 Hotmail 让我大吃一惊。我需要它在 PHP 5.3 上工作。

I am trying to allow users to import their Hotmail contacts to my site to invite friends. I am looking to write a custom PHP solution, not something like http://openinviter.com/. I tried the Live API, but it only outputs email hashes.

Does anyone know how I can accomplish this? It was super easy to setup on Yahoo! and Gmail, but Hotmail has me floored. I need this to work on PHP 5.3.

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

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

发布评论

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

评论(3

み零 2024-11-24 02:07:58

我假设您看过,但它对您一点帮助都没有?

编辑:查看 Windows Live Messenger Connect 参考,版本 5.0 出现如果您可以浏览他们的 OAuth 2.0 实现 有一个相当合理的REST用于联系人访问的 api。这就是你们一直争论的问题吗? Retriving user profile on messenger(windows live) 有一个问题)在 php 中连接 sdk,讨论 http://archive.msdn.microsoft.com/messengerconnect/Release/ ProjectReleases.aspx?ReleaseId=4595。鉴于您提供赏金,我假设您已经接受了这个挑战,所以我会问:您是否已经让 OAuth 正常工作了,或者您仍然停留在那里?

I'm assuming you looked at this and it didn't help you at all?

EDIT: looking at Windows Live Messenger Connect Reference, Version 5.0 it appears that if you can navigate your way around their OAuth 2.0 implementation there is a fairly reasonable REST api for Contact access. Is this what you've been arguing with? There's a question at Retrieving user profile on messenger(windows live) connect sdk within php that discusses the sample code at http://archive.msdn.microsoft.com/messengerconnect/Release/ProjectReleases.aspx?ReleaseId=4595. Given that you're offering a bounty I'll assume that you've already run this gauntlet, so I'll ask: have you gotten the OAuth to work at all, or are you still stuck there?

被翻牌 2024-11-24 02:07:58

来自 Microsoft 的文档:在网站上查找用户认识的人

From Microsoft's documentation: Finding People Who a User Knows on a Website

浮生未歇 2024-11-24 02:07:58

我最终采用了一种变通办法/解决方案,要求用户从 Hotmail 复制并粘贴整个地址簿的“打印视图”。然后,我使用正则表达式语句抓取电子邮件地址的文本区域输入。

虽然它并不理想,但它确实有效,而且我的用户似乎并不介意复制和粘贴,因为它只是整个地址簿的一次复制/粘贴。到目前为止,我的用户已使用此方法导入了 700 个电子邮件地址,而且我还没有收到任何有关我所使用的解决方案的错误报告或投诉。

I finally went with a work around / solution that requires the user to copy and past the "Print View" of their entire address book from Hotmail. Then I scrape the textarea input for email addresses using a regex statement.

While it is not ideal, it does work and my users don't seem to mind the copying and pasting since it is just one Copy/Paste for the entire address book. So far my users have imported 700 email addresses using this method and I have not received any bug reports or complaints about the work around I used.

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