有办法将联系人导入到 Web 应用程序吗?

huangapple go评论70阅读模式
英文:

Is there a way to import contacts to a web app?

问题

在一个编程课程作业中(与具有Java、PHP、.NET、MySQL和C#经验的团队合作),我们决定尝试构建一个基本版本的社交媒体网站(类似Twitter或Facebook的克隆)。我们想要尝试添加的一个功能是通过某种方式导入联系人到网站,以便邀请他们创建账号(由于较小的作业范围,实际上没有实现,但作为一个选项提供),或者检查这些联系人是否已经在网站上有账号(通过电子邮件或名称检查)。

我们了解到在Android应用程序开发中有一种方法可以实现这一点,通过Java中的权限管理,但我们找不到如何在Web应用程序上实现这一点的多少信息。这是否有可能?我们离解决方案最接近的方法是让用户简单地输入他们想要邀请到网站的用户的电子邮件(主要通过Mailchimp受众)。

非常感谢您能提供任何提示或指导。

谢谢。

英文:

For a programming class assignment (working with team consisting of users with experience in Java, PHP, .NET, MySQL, and C#), we decided to try building a basic version of a social media website (like a Twitter or Facebook clone). One of the features we wanted to try adding was a way to import contacts to the site to either invite the contacts to create an account (not really implemented due to smaller assignment scope, but just given as an option) or to check if the contact already had an account on the site (through email or name-checking).

We've seen that there's a way to do this through Android app development and permissions in Java, but we can't find much information on how to implement this on a web app. Is this possible? The closest we've come to a solution is through having the user simply enter the emails of the user they want to invite to the site (mostly through Mailchimp audiences).

Any tips or guidance would be greatly appreciated.

Thank you.

答案1

得分: 1

这篇帖子可能不是你直接的答案,但你需要知道:

有很多关于联系人发现的解决方案!只需搜索这个关键词:联系人发现

然而,我强烈建议你在开发你的应用程序时首先考虑隐私,因为用户不允许你明文查找他们的联系人。你可以使用安全的方法进行联系人发现。

我建议你在Signal应用程序中找到方法:
https://github.com/signalapp/ContactDiscoveryService
这是用Java编写的,非常安全,但有点难以理解。
请查看Signal的私密联系人发现以获取想法。

英文:

This post maybe not your answer directly but you need to know:

There are plenty of solutions for contact discovery! Just search this keyword: Contact Discovery.

However, I strongly suggest you consider privacy at the first of developing your app, because users cannot allow you to find their contacts in clear. You can use secure methods to contact discovery.

I suggest you find methods on signalapp:
https://github.com/signalapp/ContactDiscoveryService .
This written in Java and is very secure but a little hard to understand.
Please take a look at Private contact discovery for Signal to get idea.

huangapple
  • 本文由 发表于 2020年9月21日 15:10:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/63987674.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定