通过短信控制 Web 应用程序
我想开发一个通过接收用户的短信来收集数据的应用程序。我不知道从哪里开始以及从什么开始。我可以使用 Python、C++、PHP 进行编码,也可以使用 Java 进行编码。
我想知道是否可以有个人开发设置或框架来开发此类应用程序。发布它是一个不同的故事,但我不知道开发这个应用程序需要什么设置。
另外,这个设置要花多少钱?是否有开源或任何其他廉价替代品?
I want to develop an application that works by receiving text messages from users to gather data. I have no clue where to begin and what to begin with. I can code in Python, C++, PHP and can do Java also.
I was wondering if there can be a personal development setup or framework on which I can develop such application. Releasing it is a different story but I do not have any idea about what setup is needed to develop this application.
Also, how much would this setup cost? Are there open-source or any other cheap alternatives?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有很多服务可以让您通过网络请求接收短信。每当您收到传入消息时,我为 Twilio 工作的 Twilio 就会向您选择的 URL 发送一个简单的 POST 请求,其中包含“收件人”、“发件人”和“正文”。您可以在此处了解有关其工作原理的更多信息。
There are a lot of services out there that let you receive SMS via a web request. The one I work for Twilio will send you a simple POST request to a URL of your choice containing To, From and Body whenever you receive an incoming message. You can read more about how it works here.
此服务提供用于接收短信的 API。您可以使用共享号码并通过关键字将其发送到您的服务器,也可以支付月费来拥有自己的专用号码。因此,这将是一个很好的起点。
This service offers an api for receiving text messages. You can use the shared number and send it to your server with a keyword or you can pay a monthy fee to have your own dedicated number. So there would be a good place to start.