0

I am working on a requirement where I need to collate information from a persons social media profile into the application mainly LinkedIn, Facebook, Google and Twitter.

The app has the email ID provided by the user. Assumption is of course that the person uses the same email ID across all the services.

My initial gut feel is that I need to ask the my user to login into my app using their Facebook / Google / Twitter ID and once he is authenticated, the corresponding API can then give their information. However, I am not sure if this approach would be feasible for multiple providers i.e. I need info both from Facebook AND Google+ for example

Alternatively, is it possible to use the API's of any of these Social Media applications to map the email ID I have to a user in those applications and then to get the user's public information?

Also, is anyone aware of any 3rd party products / API's which can help provide this kind of identification? I have heard of Rapleap (www.rapleaf.com) but the profile data provided by them does not seem to have social media related information that I am interested in.

Note : I have never worked on anything related to social media in the past and hence if there is some faux pas in what I am trying to do, please feel free to point out the same.

4

3 回答 3

2

我首先假设当您说“电子邮件 ID”时,您实际上是指“电子邮件地址”,而这又是那些社交媒体网络的用户 ID

是否可以使用任何这些社交媒体应用程序的 API 将我拥有的电子邮件 ID 映射到这些应用程序中的用户,然后获取用户的公共信息?

是和否。为了从这些社交媒体网络(我们将它们称为“提供者”)请求个人资料信息,您的应用程序需要代表实际用户请求它。也就是说,用户将需要通过您的应用程序向这些提供商进行身份验证。为此,用户需要提供最少量的信息(电子邮件和密码),并且您的应用程序也需要进行身份验证......通常通过 OAuth 或本地 API 通过指定已发布的“应用程序 ID”(或客户端 ID)和应用程序密钥。一旦您向他们成功注册了您的应用程序,您应该从这些提供商那里收到这些信息。

有人知道任何可以帮助提供这种识别的第三方产品/API吗?

我不太确定,这超出了 Stackoverflow 的范围......但是,你真的需要在你的项目中添加另一个抽象层吗?另一个依赖?考虑直接与这些提供商互动,您将获得更多好处

因此,基本上,您的应用程序必须让用户提供他/她的凭据才能请求此信息。在 OAuth 的情况下,您的应用程序将永远不会看到这些凭据,因为身份验证过程发生在您的应用程序之外,您的应用程序将收到的只是一个访问令牌,用于请求访问令牌范围内可用的信息。我的意思是,您必须请求特定的权限。这些提供商的开发者网站上有很多可用信息,我相信您会毫无问题地绕过它,但如果有什么不够清楚,请随时询问。

于 2014-03-19T03:40:05.783 回答
0

有一种方法可以通过使用他们的 OAuth 服务从 facebook、google、linkedin、yahoo 等网站获取用户信息。为此,您需要开发您的应用程序以包含来自任何这些站点的 OAUth 服务,并允许用户登录任何这些服务并选择他们有兴趣共享的所有数据以使用您的应用程序。同样,您必须配置您的 facebook/etc 应用程序以包括用户在登录时选择的选项。

于 2014-03-19T11:43:50.563 回答
0

这实际上取决于社交媒体帐户。某些网站允许您通过电子邮件进行搜索,但这假设您拥有的电子邮件地址与用于该帐户的人的地址相同。其他人没有。我要做的是确定允许您通过电子邮件搜索的站点,然后访问这些站点并进行搜索。这是最直接的方法。

于 2018-09-04T00:02:38.437 回答