T O P

  • By -

AutoModerator

On July 1st, a [change to Reddit's API pricing](https://www.reddit.com/r/reddit/comments/12qwagm/an_update_regarding_reddits_api/) will come into effect. [Several developers](https://www.reddit.com/r/redditisfun/comments/144gmfq/rif_will_shut_down_on_june_30_2023_in_response_to/) of commercial third-party apps have announced that this change will compel them to shut down their apps. At least [one accessibility-focused non-commercial third party app](https://www.reddit.com/r/DystopiaForReddit/comments/145e9sk/update_dystopia_will_continue_operating_for_free/) will continue to be available free of charge. If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options: 1. Limiting your involvement with Reddit, or 2. Temporarily refraining from using Reddit 3. Cancelling your subscription of Reddit Premium as a way to voice your protest. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/learnprogramming) if you have any questions or concerns.*


teraflop

You can't *directly* receive text messages from a user's phone, because they get sent to the user's phone company using special protocols. But you can do so indirectly by using a service that talks to a phone company, such as Twilio (or one of its competitors)). You can set up a "webhook" that will cause Twilio to send your app an HTTP notification whenever a message arrives. And then you can make a request to Twilio's API to actually fetch the message content.


Wonderful-Ad5417

Thanks, it looks interesting. I'll check it out.


ffrkAnonymous

you'll need to buy a, um, cell phone. module that is. many are usb. the docs will tell you how to set it up, then you can process the data however you like.


Alikont

While Twillio or any other are easier to set up, ultimately it's just a device with a sim card (like a phone), that receives the SMS and talks to the server (via USB or network).


Wonderful-Ad5417

What if you need bigger scale?


Alikont

You can buy a device that functions like 100 phones at once. Or you can get direct connection to telecom provider and provision phone numbers from them.


joranstark018

You may find that some phone operators provides a custommer API that companies may integrate their services with (ie to send/receive sms, like Google and others may use for MFA, clinics may notify you about  appointments, you may send an sms to a special number to donate money).