auth0/webtask-twitter

Name: webtask-twitter

Owner: Auth0

Description: null

Created: 2015-05-06 18:26:11.0

Updated: 2018-01-29 18:39:38.0

Pushed: 2015-05-06 19:12:23.0

Homepage: null

Size: 1502

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Run code by Twitter with webtask.io

This project demonstrates the use of webtask.io created by Auth0 to run Node.js code submitted to the @webtaskio twitter alias by way of a tweet.

webtask-twitter

How to use

Using your favorite Twitter client, send a tweet formatted as follows:

@webtaskio: cb => cb(null, 'Hello, world!')

Moments later you should receive a response via Twitter containing the results of the execution.

You can submit any webtask Node.js code for execution (well it needs to fit in a Tweet). Read more at https://webtask.io.

How it works

The Twitter client in this project attaches to the user stream of @webtaskio. It filters the tweets that match the syntax above. It extracts the Node.js code. It then executes the code using webtask.io. Lastly, it sends the result of execution to you by way of a Twitter reply.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.