This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
nodebb-plugin-twilio with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
More of a proof-of-concept than a full fledged plugin, but it works! If anybody wants to continue from here, let me know and I'll make you the maintainer :)
Create an account on Twilio. On your user profile page find your Account SID and Auth Token - put this information in the Twilio ACP (yournodebb.com/admin/twilio). Enter the "from" number as well, which should be an associated personal mobile number on Twilio, or one that they create for you.
Don't forget to check "require email confirmation" in ACP -> Settings -> User. If this plugin is enabled no email confirmations will go out at all.
Would be nice to give the user a choice between email and mobile verification but as I said in the first sentence it's more of a proof-of-concept! :)
Basic text messaging is free (but the texts will say "Sent from your trial account").
npm install nodebb-plugin-twilio