Sign Up for Free

RunKit +

Try any Node.js package right in your browser

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:

var nodebbPluginTwilio = require("nodebb-plugin-twilio")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nodebb-plugin-twilio v0.1.4

Mobile verification for NodeBB using Twilio

Mobile verification for NodeBB using Twilio

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 ( 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


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free