IOS如何验证输入的电话号码实际上是用户电话号码? [英] Ios how can I verify that the phone number entered is actually the users phone number?

查看:205
本文介绍了IOS如何验证输入的电话号码实际上是用户电话号码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过几个不同的应用程序(Snapchat,whatsapp等)要求用户输入他们的电话号码。然后使用代码将文本消息发送给用户,以验证该号码实际上是他们的号码。然后他们就能看到哪些用户的地址簿联系人也有应用程序。

I have seen a couple different apps (Snapchat, whatsapp, etc.) ask users to input their phone number. A text message is then sent to the user with a code to verify that the number is actually their number. Then they are able to see which of the users address book contacts also have the app.

我理解除了如何向用户发送短信之外,所有这些都有效。他们是否正在运行自己的短信网关,如Kannel,使用像twilio这样的短信网关提供商,还是我完全错过了另一种选择?

I understand how all of this works except how they are sending the text messages to the user. Are they running their own SMS Gateway like Kannel, using an SMS gateway provider like twilio, or am I completely missing another option?

似乎使用网关提供商,即使在1美分,一条消息会非常快速地加起来,特别是当你真的只是试图保护应用程序免受故意放置的少数用户时在错误的电话号码。

Seems like using a gateway provider even at 1 cent a message would add up very quickly especially when you are really only trying to protect the app from the few users that purposely put in the wrong phone number.

推荐答案

大多数应用程序使用短信网关服务,是的短信是昂贵的,还有另一种方式通过未接来电技巧验证用户号码。
http://dial2verify.com/

Most of the apps use sms gateway services, yes sms is costly, there is another way to verify the user number by missed call trick. http://dial2verify.com/

这篇关于IOS如何验证输入的电话号码实际上是用户电话号码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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