如何对导入从Hotmail,生活,Gmail,雅虎接触 [英] How-to Import contacts from hotmail, live, gmail, yahoo

查看:203
本文介绍了如何对导入从Hotmail,生活,Gmail,雅虎接触的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我wounder如果soemone知道我需要,如果我想创建一个进口国,就像一个在Facebook上使用哪些API。导入用户和他们的电子邮件。

I wounder if soemone know which APIs I need to use if I want to create a importer, just like the one in facebook. importing users and their e-mails.

推荐答案

我会让你从一开始就知道,这是常规知识有关这些API,而不是指定asp.net。

I'll have you know right from the start, this is general knowledge about these APIs and not specified to asp.net.

我已经得到了接触导入到我的web应用程序的工作为所有这些服务和更多。

I have gotten contact importing to work on my web app for all of these services and more.

下面是关于每个服务击穿。如果你想要一些确认,你可以看看这个类似的帖子

Here's a break-down about each service. If you want some confirmation, you can check out this similar post.

在我告诉你什么,你最好的OAuth如何工作的一个很好的理解和所有约三条腿的验证。

Before I tell you anything, you'd better have a good understanding of how OAuth works and all about three-legged authentication.

坚持!等一下!到底是什么三脚认证?这听起来有点尴尬或扭曲。嗯,我会在这里告诉你,但我真的建议 OAuth的阅读起来,它与三条腿验证。这是pretty整洁。不管怎么说,三条腿的认证用户(即使用你的应用程序的人)的方式登录到外部服务(如谷歌,雅虎,现场),使得这些服务的消费者(即你的应用程序)可以访问用户的隐私数据所述外部服务。 如何'回合,tricolon高潮。

Hold on! Wait a minute! What the heck is three-legged authentication? It sounds kind of awkward or twisted. Well I'll tell you here but I would really recommend reading up on OAuth and how it relates to three-legged authentication. It's pretty neat. Anyways, three-legged authentication is a way for users (i.e. people using your app) to log into external services (i.e. Google, Yahoo, Live) so that the consumer of these services (i.e. your app) can access the user's private data on said external services. How 'bout that tricolon crescendo.

的三条腿如下:


  1. 的用户从您的应用程序重定向到一些信息识别外部的服务供应商,你的应用程序要与一些私人信息播放(如姓名和电子邮件地址)。

  2. 用户登录该外部网站,并重新回到您的应用程序与身份验证令牌(认为这是一个短期的密码,让您的应用程序查看用户的隐私数据)。

  3. 您的应用程序使用身份验证令牌从外部服务供应商直检索实际数据。

哇。这是pretty迂回你不觉得?那么原因大牌做到这一点,使用户不必透露自己的密码给你,应用程序的作家。 我们不希望用户的密码漂浮在所有这些第三方应用,我们会?

Wow. That's pretty circuitous don't you think? Well the reason the big names do this is so that the user doesn't have to reveal their password to you, the writer of the app. We wouldn't want user's passwords floating around in all these third-party apps, would we?

OAuth是简单的三条腿认证的更广泛的概念的应用。

OAuth is simply an application of the broader concept of three-legged authentication.

现在到你居然问。

的Hotmail是目前已知的广告的Windows Live Hotmail。这样的Hotmail是活,这是由微软的控制的一个子集。只是觉得你应该知道。

Hotmail is now known ad Windows Live Hotmail. So Hotmail is a subset of Live, which is controlled by Microsoft. Just thought you should know.

Live的联系人API是最讨厌所有的人,在我的意见。它不使用OAuth,这对于三脚认证被广泛接受的解决方案。它使用了所谓的委托验证自己的事情。的他们是谁作对的行业标准?他们一定认为他们是最大的计算机公司在全球或东西...

Live's contact API is the most annoying of all of them, in my opinion. It doesn't use OAuth, which is the widely accepted solution for three-legged authentication. It uses its own thing called Delegated Authentication. Who are they to go against the industry standard? They must think they're the biggest computing company in the world or something...

这里的 API文档

Here's the API documentation.

谷歌联系人API使用OAuth。该OAuth的原因是如此之大,是因为它的广泛使用,所以有一堆不同的语言(它已经写库的TON我这样做的时候,我在PHP是工作的这里有一个,我发现获得asp.net)。

Google contacts API uses OAuth. The reason OAuth is so great is because its widely used, so there are a TON of libraries already written for it in a bunch of different languages (when I was doing this, I was working in PHP. Here's one I found for asp.net).

谷歌联系人API是谷歌大数据API的一部分。验证与OAuth的谷歌数据API概述这里 。对于谷歌联系人API本身的文档是正确的 这里

Google Contacts API is part of the larger Google Data APIs. Authentication for Google Data APIs with OAuth is outlined here. The documentation for the Google Contacts API itself is right here.

请注意,对于谷歌联系人API的文档中,仅提及了验证两种方法:的AuthSub(认为它是谷歌的OAuth的礼版)和ClientLogin的(这不是三足验证所有用户给出您的应用程序的用户名和密码programmagically登录。OAuth的仍然有效!这是我用什么。

Note that in the documentation for Google Contacts API, it only mentions two methods of authenticating: AuthSub (think of it as Google's propriety version of OAuth) and ClientLogin (this isn't three-legged authentication at all. The user gives your app their username and password to log in programmagically. OAuth still works! It's what I used.

我肯定会推荐使用OAuth。

I would definitely recommend using OAuth.

雅虎是最简单的这一切。他们真的只允许OAuth的。一旦你掌握的OAuth与谷歌联系人API,得到它与雅虎联系人API的工作真的是很容易的。谷歌联系人API和雅虎联系人API之间的唯一区别是认证过程中几个URL以及如何解析你从API回数据。

Yahoo is the simplest of them all. They really only allow OAuth. Once you've mastered OAuth with Google Contacts API, getting it to work with Yahoo Contacts API is really really easy. The only difference between Google Contacts API and Yahoo Contacts API is a few URLs during authentication and how you parse the data you get back from the API.

下面是一些 联动

Here's some linkage.

这篇关于如何对导入从Hotmail,生活,Gmail,雅虎接触的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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