Twilio posts the messages to a webhook on the server, I validate that it's from a registered user, then turn it into a post and store it in the DB.

matigo.ca.